Skip to content

Commit 7304913

Browse files
committed
remove unecessary changes
1 parent 71a53ad commit 7304913

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

nipype/interfaces/ants/resampling.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ class WarpImageMultiTransformInputSpec(ANTSCommandInputSpec):
115115
'coregistered functional)'), position=2)
116116
output_image = File(genfile=True, hash_files=False, argstr='%s',
117117
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,
120119
desc=('Postfix that is prepended to all output '
121120
'files (default = _wimt)'), xor=['output_image'])
122121
reference_image = File(argstr='-R %s', xor=['tightest_box'],
@@ -146,7 +145,7 @@ class WarpImageMultiTransformInputSpec(ANTSCommandInputSpec):
146145

147146

148147
class WarpImageMultiTransformOutputSpec(TraitedSpec):
149-
output_image = File(desc='Warped image')
148+
output_image = File(exists=True, desc='Warped image')
150149

151150

152151
class WarpImageMultiTransform(ANTSCommand):
@@ -256,7 +255,7 @@ class ApplyTransformsInputSpec(ANTSCommandInputSpec):
256255

257256

258257
class ApplyTransformsOutputSpec(TraitedSpec):
259-
output_image = File(desc='Warped image')
258+
output_image = File(exists=True, desc='Warped image')
260259

261260

262261
class ApplyTransforms(ANTSCommand):

0 commit comments

Comments
 (0)