@@ -115,8 +115,7 @@ 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,
119
- hash_files = False ,
118
+ out_postfix = File ("_wimt" , usedefault = True , hash_files = False ,
120
119
desc = ('Postfix that is prepended to all output '
121
120
'files (default = _wimt)' ), xor = ['output_image' ])
122
121
reference_image = File (argstr = '-R %s' , xor = ['tightest_box' ],
@@ -146,7 +145,7 @@ class WarpImageMultiTransformInputSpec(ANTSCommandInputSpec):
146
145
147
146
148
147
class WarpImageMultiTransformOutputSpec (TraitedSpec ):
149
- output_image = File (desc = 'Warped image' )
148
+ output_image = File (exists = True , desc = 'Warped image' )
150
149
151
150
152
151
class WarpImageMultiTransform (ANTSCommand ):
@@ -256,7 +255,7 @@ class ApplyTransformsInputSpec(ANTSCommandInputSpec):
256
255
257
256
258
257
class ApplyTransformsOutputSpec (TraitedSpec ):
259
- output_image = File (desc = 'Warped image' )
258
+ output_image = File (exists = True , desc = 'Warped image' )
260
259
261
260
262
261
class ApplyTransforms (ANTSCommand ):
0 commit comments