Skip to content

Commit 0931fda

Browse files
committed
[fix] MRTrix3 change inputs position for MRTransform
1 parent 682abac commit 0931fda

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

nipype/interfaces/mrtrix3/utils.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -822,13 +822,11 @@ class MRTransformInputSpec(MRTrix3BaseInputSpec):
822822
)
823823
invert = traits.Bool(
824824
argstr="-inverse",
825-
position=1,
826825
desc="Invert the specified transform before using it",
827826
)
828827
linear_transform = File(
829828
exists=True,
830829
argstr="-linear %s",
831-
position=1,
832830
desc=(
833831
"Specify a linear transform to apply, in the form of a 3x4 or 4x4 ascii file. "
834832
"Note the standard reverse convention is used, "
@@ -838,38 +836,32 @@ class MRTransformInputSpec(MRTrix3BaseInputSpec):
838836
)
839837
replace_transform = traits.Bool(
840838
argstr="-replace",
841-
position=1,
842839
desc="replace the current transform by that specified, rather than applying it to the current transform",
843840
)
844841
transformation_file = File(
845842
exists=True,
846843
argstr="-transform %s",
847-
position=1,
848844
desc="The transform to apply, in the form of a 4x4 ascii file.",
849845
)
850846
template_image = File(
851847
exists=True,
852848
argstr="-template %s",
853-
position=1,
854849
desc="Reslice the input image to match the specified template image.",
855850
)
856851
reference_image = File(
857852
exists=True,
858853
argstr="-reference %s",
859-
position=1,
860854
desc="in case the transform supplied maps from the input image onto a reference image, use this option to specify the reference. Note that this implicitly sets the -replace option.",
861855
)
862856
flip_x = traits.Bool(
863857
argstr="-flipx",
864-
position=1,
865858
desc="assume the transform is supplied assuming a coordinate system with the x-axis reversed relative to the MRtrix convention (i.e. x increases from right to left). This is required to handle transform matrices produced by FSL's FLIRT command. This is only used in conjunction with the -reference option.",
866859
)
867860
quiet = traits.Bool(
868861
argstr="-quiet",
869-
position=1,
870862
desc="Do not display information messages or progress status.",
871863
)
872-
debug = traits.Bool(argstr="-debug", position=1, desc="Display debugging messages.")
864+
debug = traits.Bool(argstr="-debug", desc="Display debugging messages.")
873865

874866

875867
class MRTransformOutputSpec(TraitedSpec):

0 commit comments

Comments
 (0)