Skip to content

Commit

Permalink
Merge pull request #946 from mild-blue/improve_behavior_around_cutoff
Browse files Browse the repository at this point in the history
Do not show warning in case even max_mfi is sharply below cutoff.
  • Loading branch information
kubantjan authored Jul 25, 2022
2 parents a0cfc62 + 5718b28 commit 1ff6330
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_mfi_from_multiple_hla_codes(mfis: List[int],
)
)

elif relevant_mean < cutoff and only_one_number_used:
elif relevant_mean < cutoff and only_one_number_used and max_mfi > cutoff * MAX_MFI_RATIO_TO_BE_JUST_BELOW_CUTOFF:
parsing_issues.append(
ParsingIssue(
hla_code_or_group=raw_code,
Expand Down

0 comments on commit 1ff6330

Please sign in to comment.