Skip to content

Commit 245acd4

Browse files
committed
Merge pull request #918 from juhuntenburg/fix/ants_wimt
Fix/ants wimt
2 parents a44b546 + e7f50a3 commit 245acd4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

nipype/interfaces/ants/resampling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ class WarpImageMultiTransformInputSpec(ANTSCommandInputSpec):
130130
'with additional transforms'))
131131
use_nearest = traits.Bool(argstr='--use-NN',
132132
desc='Use nearest neighbor interpolation')
133-
use_bspline = traits.Bool(argstr='--use-Bspline',
133+
use_bspline = traits.Bool(argstr='--use-BSpline',
134134
desc='Use 3rd order B-Spline interpolation')
135135
transformation_series = InputMultiPath(File(exists=True), argstr='%s',
136136
desc='transformation file(s) to be applied',
137-
mandatory=True)
137+
mandatory=True, position=-1)
138138
invert_affine = traits.List(traits.Int,
139139
desc=('List of Affine transformations to invert.'
140140
'E.g.: [1,4,5] inverts the 1st, 4th, and 5th Affines '

nipype/interfaces/ants/tests/test_auto_WarpImageMultiTransform.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ def test_WarpImageMultiTransform_inputs():
4646
),
4747
transformation_series=dict(argstr='%s',
4848
mandatory=True,
49+
position=-1,
4950
),
50-
use_bspline=dict(argstr='--use-Bspline',
51+
use_bspline=dict(argstr='--use-BSpline',
5152
),
5253
use_nearest=dict(argstr='--use-NN',
5354
),

0 commit comments

Comments
 (0)