Skip to content

Commit 1fc9162

Browse files
committed
format
1 parent 4cc8dc7 commit 1fc9162

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

v03_pipeline/lib/tasks/update_lookup_table.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ def update_table(self, ht: hl.Table) -> hl.Table:
9595
return ht.annotate_globals(
9696
updates=ht.updates.add(
9797
hl.Struct(
98-
callset=self.callset_path, project_guid=self.project_guid,
98+
callset=self.callset_path,
99+
project_guid=self.project_guid,
99100
),
100101
),
101102
)

v03_pipeline/lib/tasks/update_lookup_table_test.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_skip_update_lookup_table_task(self) -> None:
2020
dataset_type=DatasetType.SNV_INDEL,
2121
sample_type=SampleType.WGS,
2222
callset_path=TEST_VCF,
23-
project_guid='R0555_seqr_demo', # a project excluded from the lookup table
23+
project_guid='R0555_seqr_demo', # a project excluded from the lookup table
2424
project_remap_path=TEST_REMAP,
2525
project_pedigree_path=TEST_PEDIGREE_3,
2626
validate=False,
@@ -42,10 +42,7 @@ def test_skip_update_lookup_table_task(self) -> None:
4242
),
4343
],
4444
)
45-
self.assertEqual(
46-
ht.collect(),
47-
[]
48-
)
45+
self.assertEqual(ht.collect(), [])
4946

5047
def test_update_lookup_table_task(self) -> None:
5148
worker = luigi.worker.Worker()

0 commit comments

Comments
 (0)