Skip to content

Commit

Permalink
tox lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yaseminbridges committed Dec 12, 2024
1 parent f176ded commit fb87013
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/phenotype2phenopacket/convert/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def convert_to_phenopackets(
grouped_omim_diseases = filter_diseases(
num_disease, omim_id, omim_id_list, phenotype_annotation_data
)
omim_ids = read_omim_id_list(omim_id_list) if omim_id_list else [None] * len(grouped_omim_diseases)
omim_ids = (
read_omim_id_list(omim_id_list) if omim_id_list else [None] * len(grouped_omim_diseases)
)
for omim_id, omim_disease in zip(omim_ids, grouped_omim_diseases):
if len(omim_disease) == 0:
id_message = f" for {omim_id}!" if omim_id else "!"
Expand Down

0 comments on commit fb87013

Please sign in to comment.