Skip to content

Commit db804f9

Browse files
josephmjeoesteban
authored andcommitted
fix imputs again
1 parent 86223a8 commit db804f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dmriprep/workflows/dwi/util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def init_dwi_reference_wf(omp_nthreads, dwi_file=None,
9090

9191
extract_b0 = pe.Node(ExtractB0(), name='extract_b0')
9292

93-
reg_b0 = fsl.MCFLIRT(ref_vol=0, interpolation='sinc')
93+
reg_b0 = pe.Node(fsl.MCFLIRT(ref_vol=0, interpolation='sinc'), name='reg_b0')
9494

9595
pre_mask = pe.Node(afni.Automask(dilate=1, outputtype='NIFTI_GZ'),
9696
name='pre_mask')
@@ -107,9 +107,9 @@ def init_dwi_reference_wf(omp_nthreads, dwi_file=None,
107107
(extract_b0, reg_b0, [('out_file', 'in_file')]),
108108
(reg_b0, pre_mask, [('out_file', 'in_file')]),
109109
(reg_b0, rescale_b0, [('out_file', 'in_file')]),
110-
(pre_mask, rescale_b0, [('out_file', 'pre_mask')]),
110+
(pre_mask, rescale_b0, [('out_file', 'mask_file')]),
111111
(rescale_b0, enhance_and_skullstrip_dwi_wf, [('out_file', 'inputnode.in_file')]),
112-
(pre_mask, enhance_and_skullstrip_dwi_wf, [('out_file', 'inputnode.mask_file')]),
112+
(pre_mask, enhance_and_skullstrip_dwi_wf, [('out_file', 'inputnode.pre_mask')]),
113113
(validate, outputnode, [('out_file', 'dwi_file'),
114114
('out_report', 'validation_report')]),
115115
(rescale_b0, outputnode, [('out_file', 'raw_ref_image')]),

0 commit comments

Comments
 (0)