@@ -7,7 +7,7 @@ rule survivor_filter: # used by both modes
7
7
"viola" ,
8
8
"{}{}" .format ("{prefix}" , config .file_exts .vcf ),
9
9
)
10
- if config .mode . PAIRED_SAMPLE is True
10
+ if config .mode is config . mode . PAIRED_SAMPLE
11
11
else os .path .join (
12
12
"{path}" ,
13
13
"{sample}" ,
@@ -23,7 +23,7 @@ rule survivor_filter: # used by both modes
23
23
get_outdir ("survivor" ),
24
24
"{}{}" .format ("{prefix}" , config .file_exts .vcf ),
25
25
)
26
- if config .mode . PAIRED_SAMPLE is True
26
+ if config .mode is config . mode . PAIRED_SAMPLE
27
27
else os .path .join (
28
28
"{path}" ,
29
29
"{sample}" ,
@@ -69,7 +69,7 @@ rule survivor_merge: # used by both modes
69
69
)
70
70
for c in config .enable_callers
71
71
]
72
- if config .mode . PAIRED_SAMPLE is True
72
+ if config .mode is config . mode . PAIRED_SAMPLE
73
73
else [
74
74
os .path .join (
75
75
"{path}" ,
@@ -87,7 +87,7 @@ rule survivor_merge: # used by both modes
87
87
os .path .join ("{path}" , "{tumor}--{normal}" , survivor_args ("merge" )[0 ]),
88
88
os .path .join ("{path}" , "{tumor}--{normal}" , survivor_args ("merge" )[- 1 ]),
89
89
]
90
- if config .mode . PAIRED_SAMPLE is True
90
+ if config .mode is config . mode . PAIRED_SAMPLE
91
91
else [
92
92
os .path .join ("{path}" , "{sample}" , survivor_args ("merge" )[0 ]),
93
93
os .path .join ("{path}" , "{sample}" , survivor_args ("merge" )[- 1 ]),
0 commit comments