File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
nipype/workflows/dmri/fsl Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ def create_eddy_correct_pipeline(name='eddy_correct'):
235
235
236
236
237
237
238
- def fieldmap_correction (name = 'fieldmap_correction' ):
238
+ def fieldmap_correction (name = 'fieldmap_correction' , nocheck = False ):
239
239
"""
240
240
Fieldmap-based retrospective correction of EPI images for the susceptibility distortion
241
241
artifact (Jezzard et al., 1995). Fieldmap images are assumed to be already registered
@@ -306,6 +306,9 @@ def fieldmap_correction(name='fieldmap_correction'):
306
306
# Run fsl_prepare_fieldmap
307
307
fslprep = pe .Node ( fsl .PrepareFieldmap (), name = 'prepare_fieldmap' )
308
308
309
+ if nocheck :
310
+ fslprep .inputs .nocheck = True
311
+
309
312
# Use FUGUE to generate the voxel shift map (vsm)
310
313
vsm = pe .Node (fsl .FUGUE (save_shift = True ), name = 'generate_vsm' )
311
314
You can’t perform that action at this time.
0 commit comments