File tree Expand file tree Collapse file tree 1 file changed +4
-21
lines changed Expand file tree Collapse file tree 1 file changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -2893,7 +2893,10 @@ class VolisoInputSpec(CommandLineInputSpec):
2893
2893
desc = 'output file' ,
2894
2894
genfile = True ,
2895
2895
argstr = '%s' ,
2896
- position = - 1 ,)
2896
+ position = - 1 ,
2897
+ name_source = ['input_file' ],
2898
+ hash_files = False ,
2899
+ name_template = '%s_voliso.mnc' )
2897
2900
2898
2901
verbose = traits .Bool (
2899
2902
desc = 'Print out log messages. Default: False.' ,
@@ -2938,26 +2941,6 @@ class Voliso(CommandLine):
2938
2941
output_spec = VolisoOutputSpec
2939
2942
_cmd = 'voliso'
2940
2943
2941
- def _gen_filename (self , name ):
2942
- if name == 'output_file' :
2943
- output_file = self .inputs .output_file
2944
-
2945
- if isdefined (output_file ):
2946
- return os .path .abspath (output_file )
2947
- else :
2948
- return aggregate_filename (
2949
- [self .inputs .input_file ], 'voliso_output' )
2950
- else :
2951
- raise NotImplemented
2952
-
2953
- def _gen_outfilename (self ):
2954
- return self ._gen_filename ('output_file' )
2955
-
2956
- def _list_outputs (self ):
2957
- outputs = self .output_spec ().get ()
2958
- outputs ['output_file' ] = os .path .abspath (self ._gen_outfilename ())
2959
- return outputs
2960
-
2961
2944
2962
2945
class GennlxfmInputSpec (CommandLineInputSpec ):
2963
2946
output_file = File (
You can’t perform that action at this time.
0 commit comments