Skip to content

Commit dc6a9ef

Browse files
committed
rm: _list_outputs and _gen_filename from fsl.Merge
1 parent 428e497 commit dc6a9ef

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

nipype/interfaces/fsl/utils.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -169,22 +169,6 @@ class Merge(FSLCommand):
169169
input_spec = MergeInputSpec
170170
output_spec = MergeOutputSpec
171171

172-
def _list_outputs(self):
173-
outputs = self._outputs().get()
174-
outputs['merged_file'] = self.inputs.merged_file
175-
if not isdefined(outputs['merged_file']):
176-
outputs['merged_file'] = self._gen_fname(self.inputs.in_files[0],
177-
suffix='_merged')
178-
else:
179-
outputs['merged_file'] = os.path.realpath(self.inputs.merged_file)
180-
181-
return outputs
182-
183-
def _gen_filename(self, name):
184-
if name == 'merged_file':
185-
return self._list_outputs()[name]
186-
return None
187-
188172

189173
class ExtractROIInputSpec(FSLCommandInputSpec):
190174
in_file = File(exists=True, argstr="%s",

0 commit comments

Comments
 (0)