From 33073f90cf4c5a880a0100afa48362a23201ec0d Mon Sep 17 00:00:00 2001 From: Chris Filo Gorgolewski Date: Mon, 28 Apr 2014 15:35:26 +0200 Subject: [PATCH] warp fields are not created without this change and the workflow fails silently --- nipype/workflows/fmri/fsl/preprocess.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nipype/workflows/fmri/fsl/preprocess.py b/nipype/workflows/fmri/fsl/preprocess.py index 0377815739..919b47c85d 100644 --- a/nipype/workflows/fmri/fsl/preprocess.py +++ b/nipype/workflows/fmri/fsl/preprocess.py @@ -1172,6 +1172,7 @@ def create_reg_workflow(name='registration'): register.connect(anat2target_affine, 'out_matrix_file', anat2target_nonlinear, 'affine_file') anat2target_nonlinear.inputs.warp_resolution = (8, 8, 8) + anat2target_nonlinear.inputs.fieldcoeff_file = True register.connect(inputnode, 'anatomical_image', anat2target_nonlinear, 'in_file') register.connect(inputnode, 'target_image', anat2target_nonlinear, 'ref_file')