Skip to content

Commit 6fec463

Browse files
Revert to original definition of Blur interface.
1 parent e5339b2 commit 6fec463

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

nipype/interfaces/minc/minc.py

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,13 +1553,6 @@ def _format_arg(self, name, spec, value):
15531553

15541554

15551555
class BlurInputSpec(CommandLineInputSpec):
1556-
""" FIXME not implemented
1557-
-verbose: Write messages indicating progress
1558-
-quiet: Do not write log messages
1559-
-debug: Print out debug info.
1560-
-version: Print out version info and exit.
1561-
"""
1562-
15631556
input_file = File(
15641557
desc='input file',
15651558
exists=True,
@@ -1570,11 +1563,7 @@ class BlurInputSpec(CommandLineInputSpec):
15701563
output_file_base = File(
15711564
desc='output file base',
15721565
argstr='%s',
1573-
position=-1,
1574-
name_source=['input_file'],
1575-
hash_files=False,
1576-
name_template='%s_blur',
1577-
keep_extension=False)
1566+
position=-1)
15781567

15791568
clobber = traits.Bool(
15801569
desc='Overwrite existing file.',
@@ -1709,8 +1698,9 @@ def _gen_output_base(self):
17091698
return output_base
17101699

17111700
def _list_outputs(self):
1712-
outputs = super(Blur, self)._list_outputs()
1713-
output_file_base = outputs['output_file_base']
1701+
outputs = self.output_spec().get()
1702+
1703+
output_file_base = self._gen_output_base()
17141704

17151705
outputs['output_file'] = output_file_base + '_blur.mnc'
17161706

0 commit comments

Comments
 (0)