File tree Expand file tree Collapse file tree 2 files changed +8
-24
lines changed Expand file tree Collapse file tree 2 files changed +8
-24
lines changed Original file line number Diff line number Diff line change 4
4
import luigi
5
5
import luigi .util
6
6
7
- from v03_pipeline .lib .misc .callsets import callset_project_pairs
8
7
from v03_pipeline .lib .paths import metadata_for_run_path
9
8
from v03_pipeline .lib .tasks .base .base_hail_table import BaseHailTableTask
10
9
from v03_pipeline .lib .tasks .base .base_loading_run_params import BaseLoadingRunParams
@@ -35,32 +34,17 @@ def complete(self) -> bool:
35
34
36
35
def requires (self ) -> list [luigi .Task ]:
37
36
return [
38
- self .clone (WriteRemappedAndSubsettedCallsetTask ,
39
- self .reference_genome ,
40
- self .dataset_type ,
41
- self .sample_type ,
42
- callset_path ,
43
- project_guid ,
44
- project_remap_path ,
45
- project_pedigree_path ,
46
- imputed_sex_path ,
47
- self .ignore_missing_samples_when_remapping ,
48
- self .validate ,
49
- self .force ,
50
- self .check_sex_and_relatedness ,
37
+ self .clone (
38
+ WriteRemappedAndSubsettedCallsetTask ,
39
+ project_guid = project_guid ,
40
+ project_remap_path = project_remap_path ,
41
+ project_pedigree_path = project_pedigree_path ,
51
42
)
52
- for (
53
- callset_path ,
54
- project_guid ,
55
- project_remap_path ,
56
- project_pedigree_path ,
57
- imputed_sex_path ,
58
- ) in callset_project_pairs (
59
- self .callset_paths ,
43
+ for (project_guid , project_remap_path , project_pedigree_path ) in zip (
60
44
self .project_guids ,
61
45
self .project_remap_paths ,
62
46
self .project_pedigree_paths ,
63
- self . imputed_sex_paths ,
47
+ strict = False ,
64
48
)
65
49
]
66
50
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ def test_write_metadata_for_run_task(self) -> None:
19
19
reference_genome = ReferenceGenome .GRCh38 ,
20
20
dataset_type = DatasetType .SNV_INDEL ,
21
21
sample_type = SampleType .WGS ,
22
- callset_paths = [ TEST_VCF ] ,
22
+ callset_path = TEST_VCF ,
23
23
project_guids = ['R0113_test_project' , 'R0114_project4' ],
24
24
project_remap_paths = [TEST_REMAP_2 , TEST_REMAP_2 ],
25
25
project_pedigree_paths = [TEST_PEDIGREE_3 , TEST_PEDIGREE_4 ],
You can’t perform that action at this time.
0 commit comments