Skip to content

Commit d14c9c2

Browse files
committed
ENH: Return out_warp == "identity" if no SDC is applied
1 parent c3ffa59 commit d14c9c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdcflows/workflows/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def init_sdc_estimate_wf(fmaps, epi_meta, omp_nthreads=1, debug=False):
9797
Susceptibility distortion correction (SDC) was omitted.
9898
"""
9999
outputnode.inputs.method = 'None'
100+
outputnode.inputs.out_warp = 'identity'
100101
workflow.connect([
101102
(inputnode, outputnode, [('epi_file', 'epi_corrected'),
102103
('epi_mask', 'epi_mask'),

0 commit comments

Comments
 (0)