Skip to content

Commit 636f32a

Browse files
committed
Merge pull request #985 from blakedewey/master
fixed ants ApplyTransformInputSpec
2 parents 0a00abf + 5cb003c commit 636f32a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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

nipype/interfaces/ants/tests/test_auto_ApplyTransforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
def test_ApplyTransforms_inputs():
66
input_map = dict(args=dict(argstr='%s',
77
),
8-
default_value=dict(argstr='--default-value %d',
8+
default_value=dict(argstr='--default-value %g',
99
usedefault=True,
1010
),
1111
dimension=dict(argstr='--dimensionality %d',

0 commit comments

Comments
 (0)