Skip to content

Commit 36af895

Browse files
committed
FIX: Update merge_rois connections in workflow
1 parent 3afd51c commit 36af895

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

fmriprep/workflows/pet/confounds.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def init_pet_confs_wf(
274274
iterfield=['in_file'],
275275
)
276276
merge_rois = pe.Node(
277-
niu.Merge(3, ravel_inputs=True), name='merge_rois', run_without_submitting=True
277+
niu.Merge(4, ravel_inputs=True), name='merge_rois', run_without_submitting=True
278278
)
279279
signals = pe.Node(
280280
SignalExtraction(class_labels=signals_class_labels), name='signals', mem_gb=mem_gb
@@ -380,10 +380,14 @@ def init_pet_confs_wf(
380380
('petref2anat_xfm', 'transforms'),
381381
]),
382382
(acompcor_tfm, acompcor_bin, [('output_image', 'in_file')]),
383+
(union_mask, merge_rois, [('out', 'in1')]),
383384
(acompcor_bin, merge_rois, [
384385
(('out_mask', _last), 'in3'),
385386
(('out_mask', _first), 'in1'),
386387
(('out_mask', _second), 'in2'),
388+
(('out_mask', _first), 'in2'),
389+
(('out_mask', _second), 'in3'),
390+
(('out_mask', _last), 'in4'),
387391
]),
388392
(merge_rois, signals, [('out', 'label_files')]),
389393

0 commit comments

Comments
 (0)