Skip to content

Commit edfcb0f

Browse files
committed
lint
1 parent 03b2de2 commit edfcb0f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

v03_pipeline/lib/tasks/update_variant_annotations_table_with_new_samples.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,24 @@ class UpdateVariantAnnotationsTableWithNewSamplesTask(BaseVariantAnnotationsTabl
4949
parsing=luigi.BoolParameter.EXPLICIT_PARSING,
5050
)
5151
liftover_ref_path = luigi.OptionalParameter(
52-
default="gs://hail-common/references/grch38_to_grch37.over.chain.gz",
53-
description="Path to GRCh38 to GRCh37 coordinates file",
52+
default='gs://hail-common/references/grch38_to_grch37.over.chain.gz',
53+
description='Path to GRCh38 to GRCh37 coordinates file',
5454
)
5555

5656
@property
5757
def other_annotation_dependencies(self) -> dict[str, hl.Table]:
5858
annotation_dependencies = {}
5959
if self.dataset_type.has_lookup_table:
60-
annotation_dependencies["lookup_ht"] = hl.read_table(
60+
annotation_dependencies['lookup_ht'] = hl.read_table(
6161
lookup_table_path(
6262
self.reference_genome,
6363
self.dataset_type,
6464
),
6565
)
6666

6767
if self.dataset_type.has_gencode_mapping:
68-
annotation_dependencies["gencode_mapping"] = hl.literal(
69-
load_gencode(GENCODE_RELEASE, ""),
68+
annotation_dependencies['gencode_mapping'] = hl.literal(
69+
load_gencode(GENCODE_RELEASE, ''),
7070
)
7171
return annotation_dependencies
7272

@@ -222,8 +222,8 @@ def update_table(self, ht: hl.Table) -> hl.Table:
222222
):
223223
if rdc.requires_annotation:
224224
continue
225-
rdc_ht = self.rdc_annotation_dependencies[f"{rdc.value}_ht"]
226-
new_variants_ht = new_variants_ht.join(rdc_ht, "left")
225+
rdc_ht = self.rdc_annotation_dependencies[f'{rdc.value}_ht']
226+
new_variants_ht = new_variants_ht.join(rdc_ht, 'left')
227227

228228
# 4) Union with the existing variant annotations table
229229
# and annotate with the lookup table.

0 commit comments

Comments
 (0)