Skip to content

Commit 73b1fc3

Browse files
committed
Merge branch 'dev' of github.com:broadinstitute/seqr-loading-pipelines into dev
2 parents 1acffee + 5a74caf commit 73b1fc3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

v03_pipeline/lib/tasks/reference_data/updated_reference_dataset_collection.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import logging
2-
from typing import ClassVar
32

43
import hail as hl
54
import luigi
@@ -21,10 +20,13 @@
2120

2221
class UpdatedReferenceDatasetCollectionTask(BaseUpdateTask):
2322
reference_dataset_collection = luigi.EnumParameter(enum=ReferenceDatasetCollection)
24-
_datasets_to_update: ClassVar[list[str]] = []
23+
24+
def __init__(self, *args, **kwargs):
25+
super().__init__(*args, **kwargs)
26+
self._datasets_to_update = []
2527

2628
def complete(self) -> bool:
27-
self._datasets_to_update.clear()
29+
self._datasets_to_update = []
2830

2931
if not super().complete():
3032
logger.info('Creating a new reference dataset collection')

0 commit comments

Comments
 (0)