Skip to content

Commit c6c8b61

Browse files
mgxdeffigies
authored andcommitted
fix: supplement fmriprep#1942
1 parent 4125c2f commit c6c8b61

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sdcflows/workflows/base.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ def init_sdc_estimate_wf(fmaps, epi_meta, omp_nthreads=1, debug=False):
233233
('epi_brain', 'inputnode.in_reference_brain'),
234234
('t1w_brain', 'inputnode.t1w_brain'),
235235
('std2anat_xfm', 'inputnode.std2anat_xfm')]),
236+
(syn_sdc_wf, outputnode, [
237+
('outputnode.out_reference', 'syn_ref')]),
236238
])
237239

238240
# XXX Eliminate branch when forcing isn't an option
@@ -241,10 +243,6 @@ def init_sdc_estimate_wf(fmaps, epi_meta, omp_nthreads=1, debug=False):
241243
sdc_unwarp_wf = syn_sdc_wf
242244
else: # --force-syn was called when other fieldmap was present
243245
sdc_unwarp_wf.__desc__ = None
244-
workflow.connect([
245-
(syn_sdc_wf, outputnode, [
246-
('outputnode.out_reference', 'syn_ref')]),
247-
])
248246

249247
workflow.connect([
250248
(sdc_unwarp_wf, outputnode, [

0 commit comments

Comments
 (0)