Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
apriltuesday committed Jan 19, 2024
1 parent ae0a233 commit 8693671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmat/trait_mapping/trait.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def process_zooma_results(self):
"""
for zooma_result in self.zooma_result_list:
for mapping in zooma_result.mapping_list:
# Accept either high-confidence mappings, or exact string matches
# Accept current mappings in the target ontology with either high-confidence or exact string matches
if mapping.in_ontology and mapping.is_current and (zooma_result.confidence.lower() == "high"
or zooma_result.zooma_label.lower() == self.name.lower()):
ontology_entry = OntologyEntry(mapping.uri, mapping.ontology_label)
Expand Down

0 comments on commit 8693671

Please sign in to comment.