diff --git a/annotation/phenotype_matcher.py b/annotation/phenotype_matcher.py index 663045563..adf277e9c 100644 --- a/annotation/phenotype_matcher.py +++ b/annotation/phenotype_matcher.py @@ -354,6 +354,7 @@ def break_up_syndromes_and_disease(omim_description, pk): term = term.strip().lower().replace(",", "") omim_pks_by_term[term] = pk for split_term in term.split(";"): + split_term = split_term.strip() omim_pks_by_term[split_term] = pk break_up_syndromes_and_disease(split_term, pk) break_up_dashes(split_term, pk)