Skip to content

Commit d77a4e6

Browse files
authored
Fix syntax (#787)
* Bump requirements * add validation * format * Fix syntax
1 parent 0600039 commit d77a4e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v03_pipeline/lib/reference_data/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def custom_mpc_select(ht):
198198
'pathogenicity': CLINVAR_PATHOGENICITIES,
199199
'assertion': CLINVAR_ASSERTIONS,
200200
},
201-
'filter': lambda ht: ~(ht.locus.contig == 'MT'),
201+
'filter': lambda ht: ht.locus.contig != 'MT',
202202
},
203203
'38': {
204204
'custom_import': download_and_import_latest_clinvar_vcf,
@@ -209,7 +209,7 @@ def custom_mpc_select(ht):
209209
'pathogenicity': CLINVAR_PATHOGENICITIES,
210210
'assertion': CLINVAR_ASSERTIONS,
211211
},
212-
'filter': lambda ht: ~(ht.locus.contig == 'chrM'),
212+
'filter': lambda ht: ht.locus.contig != 'chrM',
213213
},
214214
},
215215
'dbnsfp': {

0 commit comments

Comments
 (0)