Skip to content

Commit

Permalink
fix casing
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Sep 27, 2023
1 parent 669e6e6 commit d87b6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disease/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def normalize(self, query: str) -> NormalizationService:
self.db.get_record_by_id(ref, False) for ref in matching_refs
]
matching_records.sort(
key=lambda i: SourcePriority[i["src_name"]] # type: ignore
key=lambda i: SourcePriority[i["src_name"].upper()] # type: ignore
)

# attempt merge ref resolution until successful
Expand Down

0 comments on commit d87b6d0

Please sign in to comment.