Skip to content

Commit

Permalink
Correct noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Mar 7, 2021
1 parent 88d62b5 commit 530b537
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/imports/mutations/clinvar.py
Expand Up @@ -411,8 +411,10 @@ def remove_muts_without_origin(self):
print('Removing ClinVar associations with blacklisted or missing origin; NOTE:')
print('\torigin is not set also when the mutation was skipped due to other reasons, such as non-human species')
removed_cnt = ClinicalData.query.filter(
# noqa: E711
or_(ClinicalData.origin == None, ClinicalData.origin.in_(origin_exclusion_list))
or_(
ClinicalData.origin == None, # noqa: E711
ClinicalData.origin.in_(origin_exclusion_list)
)
).delete(synchronize_session='fetch')
db.session.commit()
print(f'Removed {removed_cnt} associations')
Expand Down

0 comments on commit 530b537

Please sign in to comment.