Skip to content

Commit 6908420

Browse files
committed
Added nocheck option in fielmap_correction
1 parent bcd8a3f commit 6908420

File tree

1 file changed

+4
-1
lines changed
  • nipype/workflows/dmri/fsl

1 file changed

+4
-1
lines changed

nipype/workflows/dmri/fsl/epi.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def create_eddy_correct_pipeline(name='eddy_correct'):
235235

236236

237237

238-
def fieldmap_correction(name='fieldmap_correction'):
238+
def fieldmap_correction(name='fieldmap_correction', nocheck=False):
239239
"""
240240
Fieldmap-based retrospective correction of EPI images for the susceptibility distortion
241241
artifact (Jezzard et al., 1995). Fieldmap images are assumed to be already registered
@@ -306,6 +306,9 @@ def fieldmap_correction(name='fieldmap_correction'):
306306
# Run fsl_prepare_fieldmap
307307
fslprep = pe.Node( fsl.PrepareFieldmap(), name='prepare_fieldmap' )
308308

309+
if nocheck:
310+
fslprep.inputs.nocheck = True
311+
309312
# Use FUGUE to generate the voxel shift map (vsm)
310313
vsm = pe.Node(fsl.FUGUE(save_shift=True), name='generate_vsm')
311314

0 commit comments

Comments
 (0)