From fb87013c98378f6d73a4285c2e2e2f01d77ab057 Mon Sep 17 00:00:00 2001 From: Yasemin Bridges Date: Thu, 12 Dec 2024 20:47:31 +0000 Subject: [PATCH] tox lint --- src/phenotype2phenopacket/convert/convert.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/phenotype2phenopacket/convert/convert.py b/src/phenotype2phenopacket/convert/convert.py index 5be4319..0dfb18b 100644 --- a/src/phenotype2phenopacket/convert/convert.py +++ b/src/phenotype2phenopacket/convert/convert.py @@ -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 "!"