We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ff366c + 7429309 commit a10963cCopy full SHA for a10963c
nipype/interfaces/fsl/utils.py
@@ -551,9 +551,9 @@ def _list_outputs(self):
551
"""
552
outputs = self._outputs().get()
553
ext = Info.output_type_to_ext(self.inputs.output_type)
554
- outbase = 'vol*'
+ outbase = 'vol[0-9]*'
555
if isdefined(self.inputs.out_base_name):
556
- outbase = '%s*' % self.inputs.out_base_name
+ outbase = '%s[0-9]*' % self.inputs.out_base_name
557
outputs['out_files'] = sorted(
558
glob(os.path.join(os.getcwd(), outbase + ext)))
559
return outputs
0 commit comments