@@ -692,12 +692,11 @@ class MRResizeInputSpec(MRTrix3BaseInputSpec):
692692 argstr = '-size %d,%d,%d' ,
693693 mandatory = True ,
694694 desc = 'define the new image size for the output image. This should be '
695- 'specified as a comma-separated list.' ,
696695 xor = ['voxel_size' , 'scale_factor' ],
697696 )
698697 voxel_size = traits .Tuple (
699698 (traits .Float , traits .Float , traits .Float ),
700- argstr = '-voxel %d,%d,%d ' ,
699+ argstr = '-voxel %g,%g,%g ' ,
701700 mandatory = True ,
702701 desc = 'define the new voxel size for the output image. This can be '
703702 'specified either as a single value to be used for all '
@@ -707,15 +706,15 @@ class MRResizeInputSpec(MRTrix3BaseInputSpec):
707706 )
708707 scale_factor = traits .Tuple (
709708 (traits .Float , traits .Float , traits .Float ),
710- argstr = '-scale %d,%d,%d ' ,
709+ argstr = '-scale %g,%g,%g ' ,
711710 mandatory = True ,
712711 desc = 'scale the image resolution by the supplied factor. This can be '
713712 'specified either as a single value to be used for all '
714713 'dimensions, or as a comma-separated list of scale factors for '
715714 'each dimension.' ,
716715 xor = ['image_size' , 'voxel_size' ],
717716 )
718- interp = traits .Enum (
717+ interpolation = traits .Enum (
719718 'cubic' ,
720719 'nearest' ,
721720 'linear' ,
@@ -746,6 +745,7 @@ class MRResize(MRTrix3Base):
746745 automatically applied using Gaussian smoothing.
747746 For more information, see
748747 <https://mrtrix.readthedocs.io/en/latest/reference/commands/mrresize.html>
748+
749749 Example
750750 -------
751751 >>> import nipype.interfaces.mrtrix3 as mrt
0 commit comments