Skip to content

Commit bdc44f0

Browse files
committed
fix: Pass the un-saved fmap_mask, remove from inputs
1 parent 66627d0 commit bdc44f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fmriprep/workflows/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,7 @@ def init_single_subject_wf(
732732
'fmap': 'fmap_derivatives_wf.ds_fieldmap.out_file',
733733
'fmap_ref': 'fmap_derivatives_wf.ds_reference.out_file',
734734
'fmap_coeff': 'fmap_derivatives_wf.ds_coeff.out_file',
735+
'fmap_mask': 'outputnode.fmap_mask',
735736
}
736737

737738
workflow.connect([

fmriprep/workflows/bold/fit.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def init_bold_fit_wf(
511511

512512
itk_mat2txt = pe.Node(ConcatenateXFMs(out_fmt='itk'), name='itk_mat2txt')
513513
fmapreg_source_files = pe.Node(
514-
niu.Merge(3), name='fmapreg_source_files', run_without_submitting=True
514+
niu.Merge(2), name='fmapreg_source_files', run_without_submitting=True
515515
)
516516

517517
ds_fmapreg_wf = init_ds_registration_wf(
@@ -532,7 +532,6 @@ def init_bold_fit_wf(
532532
(fmapref_buffer, fmapreg_source_files, [('out', 'in1')]),
533533
(fmap_select, fmapreg_source_files, [
534534
('fmap_ref', 'in2'),
535-
('fmap_mask', 'in3'),
536535
]),
537536
(fmapreg_wf, itk_mat2txt, [('outputnode.target2fmap_xfm', 'in_xfms')]),
538537
(itk_mat2txt, ds_fmapreg_wf, [('out_xfm', 'inputnode.xform')]),

0 commit comments

Comments
 (0)