Skip to content

Commit 6f97b09

Browse files
author
blakedewey
committed
fixed ants ApplyTransformInputSpec
changed argstr for default_value to allow floats by using %g instead of %g
1 parent 0a00abf commit 6f97b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/ants/resampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class ApplyTransformsInputSpec(ANTSCommandInputSpec):
249249
File(exists=True), argstr='%s', mandatory=True, desc=(''))
250250
invert_transform_flags = InputMultiPath(traits.Bool())
251251
default_value = traits.Float(
252-
0.0, argstr='--default-value %d', usedefault=True)
252+
0.0, argstr='--default-value %g', usedefault=True)
253253
print_out_composite_warp_file = traits.Enum(
254254
0, 1, requires=["output_image"], desc=('')) # TODO: Change to boolean
255255

0 commit comments

Comments
 (0)