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