Skip to content

Commit

Permalink
Fix the ids check assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Oct 4, 2020
1 parent 463ce4f commit 7c40344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/imports/mutations/clinvar.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,8 @@ def clinvar_parser(line):
f' {disease_ids} vs {recorded_ids} ({different_ids} differ).'
f' The newer set of ids ({disease_ids}) was kept.'
)

assert len(disease_ids) != len(recorded_ids)
# not all ids differ (at least some are the same)
assert len(different_ids) != len(recorded_ids)

clinvar_data.append(
(
Expand Down

0 comments on commit 7c40344

Please sign in to comment.