@@ -942,18 +942,18 @@ def write_config(self, configfile):
942
942
class ApplyWarpInputSpec (FSLCommandInputSpec ):
943
943
in_file = File (exists = True , argstr = '--in=%s' ,
944
944
mandatory = True ,
945
- desc = 'image to be warped' )
945
+ desc = 'image to be warped' , position = 0 )
946
946
out_file = File (argstr = '--out=%s' , genfile = True ,
947
- desc = 'output filename' , hash_files = False )
947
+ desc = 'output filename' , hash_files = False , position = 2 )
948
948
ref_file = File (exists = True , argstr = '--ref=%s' ,
949
949
mandatory = True ,
950
- desc = 'reference image' )
950
+ desc = 'reference image' , position = 1 )
951
951
field_file = File (exists = True , argstr = '--warp=%s' ,
952
- desc = 'file containing warp field' )
952
+ desc = 'file containing warp field' , position = 3 , mandatory = True )
953
953
abswarp = traits .Bool (argstr = '--abs' , xor = ['relwarp' ],
954
954
desc = "treat warp field as absolute: x' = w(x)" )
955
955
relwarp = traits .Bool (argstr = '--rel' , xor = ['abswarp' ],
956
- desc = "treat warp field as relative: x' = x + w(x)" )
956
+ desc = "treat warp field as relative: x' = x + w(x)" , position = - 1 )
957
957
datatype = traits .Enum ('char' , 'short' , 'int' , 'float' , 'double' ,
958
958
argstr = '--datatype=%s' ,
959
959
desc = 'Force output data type [char short int float double].' )
@@ -970,7 +970,7 @@ class ApplyWarpInputSpec(FSLCommandInputSpec):
970
970
desc = 'filename for mask image (in reference space)' )
971
971
interp = traits .Enum (
972
972
'nn' , 'trilinear' , 'sinc' , 'spline' , argstr = '--interp=%s' ,
973
- desc = 'interpolation method' )
973
+ desc = 'interpolation method' , position = - 2 )
974
974
975
975
976
976
class ApplyWarpOutputSpec (TraitedSpec ):
0 commit comments