Skip to content

Commit 33073f9

Browse files
committed
warp fields are not created without this change and the workflow fails
silently
1 parent cba8e41 commit 33073f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nipype/workflows/fmri/fsl/preprocess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,6 +1172,7 @@ def create_reg_workflow(name='registration'):
11721172
register.connect(anat2target_affine, 'out_matrix_file',
11731173
anat2target_nonlinear, 'affine_file')
11741174
anat2target_nonlinear.inputs.warp_resolution = (8, 8, 8)
1175+
anat2target_nonlinear.inputs.fieldcoeff_file = True
11751176
register.connect(inputnode, 'anatomical_image', anat2target_nonlinear, 'in_file')
11761177
register.connect(inputnode, 'target_image',
11771178
anat2target_nonlinear, 'ref_file')

0 commit comments

Comments
 (0)