Skip to content

Commit

Permalink
fix: restored case sensitive qualifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
valearna committed Mar 31, 2020
1 parent 3d8543f commit 08f4428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genedescriptions/descriptions_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def set_terms_groups(self, module, config, limit_to_group, humans):
if annotation["evidence"]["type"] in evidence_codes_groups_map:
aspect = annotation["aspect"]
ev_group = evidence_codes_groups_map[annotation["evidence"]["type"]]
qualifier = "_".join(sorted([q.lower().replace(" ", "_") for q in annotation["qualifiers"]])) if \
qualifier = "_".join(sorted([q.replace(" ", "_") for q in annotation["qualifiers"]])) if \
"qualifiers" in annotation else ""
if prepostfix_special_cases_sent_map and (aspect, ev_group, qualifier) in \
prepostfix_special_cases_sent_map:
Expand Down

0 comments on commit 08f4428

Please sign in to comment.