@@ -115,7 +115,8 @@ class WarpImageMultiTransformInputSpec(ANTSCommandInputSpec):
115
115
'coregistered functional)' ), position = 2 )
116
116
output_image = File (genfile = True , hash_files = False , argstr = '%s' ,
117
117
desc = ('name of the output warped image' ), position = 3 , xor = ['out_postfix' ])
118
- out_postfix = File ("_wimt" , usedefault = True , hash_files = False ,
118
+ out_postfix = File ("_wimt" , #usedefault=True,
119
+ hash_files = False ,
119
120
desc = ('Postfix that is prepended to all output '
120
121
'files (default = _wimt)' ), xor = ['output_image' ])
121
122
reference_image = File (argstr = '-R %s' , xor = ['tightest_box' ],
@@ -130,11 +131,11 @@ class WarpImageMultiTransformInputSpec(ANTSCommandInputSpec):
130
131
'with additional transforms' ))
131
132
use_nearest = traits .Bool (argstr = '--use-NN' ,
132
133
desc = 'Use nearest neighbor interpolation' )
133
- use_bspline = traits .Bool (argstr = '--use-Bspline ' ,
134
+ use_bspline = traits .Bool (argstr = '--use-BSpline ' ,
134
135
desc = 'Use 3rd order B-Spline interpolation' )
135
136
transformation_series = InputMultiPath (File (exists = True ), argstr = '%s' ,
136
137
desc = 'transformation file(s) to be applied' ,
137
- mandatory = True )
138
+ mandatory = True , position = - 1 )
138
139
invert_affine = traits .List (traits .Int ,
139
140
desc = ('List of Affine transformations to invert.'
140
141
'E.g.: [1,4,5] inverts the 1st, 4th, and 5th Affines '
@@ -145,7 +146,7 @@ class WarpImageMultiTransformInputSpec(ANTSCommandInputSpec):
145
146
146
147
147
148
class WarpImageMultiTransformOutputSpec (TraitedSpec ):
148
- output_image = File (exists = True , desc = 'Warped image' )
149
+ output_image = File (desc = 'Warped image' )
149
150
150
151
151
152
class WarpImageMultiTransform (ANTSCommand ):
@@ -255,7 +256,7 @@ class ApplyTransformsInputSpec(ANTSCommandInputSpec):
255
256
256
257
257
258
class ApplyTransformsOutputSpec (TraitedSpec ):
258
- output_image = File (exists = True , desc = 'Warped image' )
259
+ output_image = File (desc = 'Warped image' )
259
260
260
261
261
262
class ApplyTransforms (ANTSCommand ):
0 commit comments