Skip to content

Commit

Permalink
access hpo id for creating list of observed phenotypes
Browse files Browse the repository at this point in the history
  • Loading branch information
yaseminbridges committed May 10, 2024
1 parent 9eb66e5 commit b1873c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pheval_ai_marrvel/prepare/prepare_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

def obtain_observed_hpo_ids(phenopacket: Phenopacket) -> str:
observed_phenotypes = PhenopacketUtil(phenopacket).observed_phenotypic_features()
observed_hpo_ids = "/n".join(observed_phenotypes)
observed_hpo_ids = [hpo_id.id for hpo_id in observed_phenotypes]
observed_hpo_ids = "/n".join(observed_hpo_ids)
return observed_hpo_ids


Expand Down

0 comments on commit b1873c3

Please sign in to comment.