Skip to content

Commit

Permalink
Merge pull request #67 from monarch-initiative/66-duplicated-disease-…
Browse files Browse the repository at this point in the history
…results-in-pheval-tsv-output-for-disease-prioritisation

Remove Duplicate Disease Results in PhEval TSV Output Based on Disease and Score
  • Loading branch information
julesjacobsen authored Sep 30, 2024
2 parents fb8a2db + 11ec3d5 commit 68df039
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,12 @@ def extract_pheval_disease_requirements(self) -> [PhEvalDiseaseResult]:
)
except KeyError:
pass
return simplified_exomiser_result
return list(
{
(result.disease_identifier, result.score): result
for result in simplified_exomiser_result
}.values()
)


def create_standardised_results(
Expand Down

0 comments on commit 68df039

Please sign in to comment.