We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd05eb commit ce87850Copy full SHA for ce87850
v03_pipeline/lib/tasks/write_imported_callset.py
@@ -28,7 +28,17 @@
28
@luigi.util.inherits(BaseLoadingRunParams)
29
class WriteImportedCallsetTask(BaseWriteTask):
30
def complete(self) -> luigi.Target:
31
- return super().complete()
+ # Handle case where callset was previously imported
32
+ # with a different sex/relatedness flag.
33
+ additional_row_fields = get_additional_row_fields(
34
+ mt,
35
+ self.reference_genome,
36
+ self.dataset_type,
37
+ self.skip_check_sex_and_relatedness,
38
+ )
39
+ return super().complete() and all(
40
+ hasattr(ht, field) for field in additional_row_fields
41
42
43
def output(self) -> luigi.Target:
44
return GCSorLocalTarget(
0 commit comments