Skip to content

Commit 741405f

Browse files
author
Shoshana Berleant
committed
make transforms arg in ApplyTransforms opt
1 parent 974a42b commit 741405f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nipype/interfaces/ants/resampling.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,11 @@ class ApplyTransformsInputSpec(ANTSCommandInputSpec):
246246
interpolation_parameters = traits.Either(traits.Tuple(traits.Int()), # BSpline (order)
247247
traits.Tuple(traits.Float(), # Gaussian/MultiLabel (sigma, alpha)
248248
traits.Float())
249-
)
249+
)
250250
transforms = InputMultiPath(
251-
File(exists=True), argstr='%s', mandatory=True, desc='transform files: will be applied in reverse order. For example, the last specified transform will be applied first')
251+
File(exists=True), argstr='%s', desc='transform files: will be applied in reverse order. '
252+
'For example, the last specified transform will be applied first; if this input is not '
253+
'set, the identity transform is used')
252254
invert_transform_flags = InputMultiPath(traits.Bool())
253255
default_value = traits.Float(0.0, argstr='--default-value %g', usedefault=True)
254256
print_out_composite_warp_file = traits.Bool(False, requires=["output_image"],

0 commit comments

Comments
 (0)