Skip to content

Commit

Permalink
Do not compare types but str repr for disease ids
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Oct 4, 2020
1 parent 7c40344 commit 8cfd7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/imports/mutations/clinvar.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def clinvar_parser(line):
different_ids = [
id_label
for i, (id_label, id_name) in enumerate(self.disease_id_clinvar_to_db.items())
if recorded_ids[i] != disease_ids[i]
if str(recorded_ids[i]) != str(disease_ids[i])
]
if any(different_ids):
print(
Expand Down

0 comments on commit 8cfd7e5

Please sign in to comment.