Skip to content

Commit a27e102

Browse files
committed
fix gnomad v4 version
1 parent 9893364 commit a27e102

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

v03_pipeline/lib/reference_data/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def custom_mpc_select(ht):
361361
'custom_select': custom_gnomad_select_v2,
362362
},
363363
'38': {
364-
'version': 'v4.1',
364+
'version': '4.1',
365365
'path': 'gs://gcp-public-data--gnomad/release/4.1/ht/exomes/gnomad.exomes.v4.1.sites.ht',
366366
'custom_select': custom_gnomad_select_v4,
367367
},
@@ -373,7 +373,7 @@ def custom_mpc_select(ht):
373373
'custom_select': custom_gnomad_select_v2,
374374
},
375375
'38': {
376-
'version': 'v4.1',
376+
'version': '4.1',
377377
'path': 'gs://gcp-public-data--gnomad/release/4.1/ht/genomes/gnomad.genomes.v4.1.sites.ht',
378378
'custom_select': custom_gnomad_select_v4,
379379
},

v03_pipeline/lib/reference_data/dataset_table_operations.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,12 @@ def parse_dataset_version(
180180
.when(hl.is_missing(annotated_version), config_version)
181181
.when(annotated_version == config_version, config_version)
182182
.or_error(
183-
f'found mismatching versions for dataset {dataset}. config version: {config_version}, ht version: {annotated_version}',
183+
hl.format(
184+
'found mismatching versions for dataset %s. config version: %s, ht version: %s',
185+
dataset,
186+
config_version,
187+
annotated_version,
188+
),
184189
)
185190
)
186191

0 commit comments

Comments
 (0)