Skip to content

Commit 51aae84

Browse files
committed
RF: Remove third mask since SyN is currently 2 steps
1 parent d32bcdc commit 51aae84

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

sdcflows/workflows/fit/syn.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def init_syn_sdc_wf(
211211
)
212212

213213
fixed_masks = pe.Node(
214-
niu.Merge(3),
214+
niu.Merge(2),
215215
name="fixed_masks",
216216
mem_gb=DEFAULT_MEMORY_MIN_GB,
217217
run_without_submitting=True,
@@ -267,13 +267,6 @@ def init_syn_sdc_wf(
267267
if sloppy:
268268
bs_filter.inputs.zooms_min = 4.0
269269

270-
if sd_prior:
271-
workflow.connect([
272-
(inputnode, atlas_msk, [("sd_prior", "in_file")]),
273-
(atlas_msk, fixed_masks, [("out_mask", "in3")]),
274-
]) # fmt:skip
275-
else:
276-
workflow.connect(inputnode, "anat_mask", fixed_masks, "in3")
277270

278271
workflow.connect([
279272
(inputnode, readout_time, [(("epi_ref", _pop), "in_file"),

0 commit comments

Comments
 (0)