Skip to content

Commit fa11ffd

Browse files
committed
bugfix: for unknown reasons WarpUtils produced wrong command lines (ii)
1 parent 3f8c154 commit fa11ffd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

nipype/interfaces/fsl/utils.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,9 +1552,10 @@ def _parse_inputs(self, skip=None):
15521552

15531553
if self.inputs.write_jacobian:
15541554
if not isdefined(self.inputs.out_jacobian):
1555-
trait_spec = self.inputs.trait('out_jacobian')
1556-
trait_spec.name_source = ['in_file']
1557-
trait_spec.name_template = '%s_jac'
1555+
jac_spec = self.inputs.trait('out_jacobian')
1556+
jac_spec.name_source = ['in_file']
1557+
jac_spec.name_template = '%s_jac'
1558+
jac_spec.output_name = 'out_jacobian'
15581559
else:
15591560
skip+=['out_jacobian']
15601561

0 commit comments

Comments
 (0)