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.
1 parent 8ec1560 commit 60cc6eeCopy full SHA for 60cc6ee
nipype/interfaces/fsl/preprocess.py
@@ -1592,12 +1592,11 @@ def _list_outputs(self):
1592
def _gen_fname(self, name):
1593
path, outname, ext = split_filename(self.inputs.out_file)
1594
1595
-
1596
if name == 'original_segmentations':
1597
- fnames = glob.glob(op.abspath('%s_all_*_origsegs.nii.gz' % outname))
+ fnames = glob.glob(op.abspath('%s_all_*_origsegs.nii.gz' % outname))
1598
return op.abspath(fnames[0])
1599
if name == 'segmentation_file':
1600
- fnames = glob.glob(op.abspath('%s_all_*_firstseg.nii.gz' % outname))
+ fnames = glob.glob(op.abspath('%s_all_*_firstseg.nii.gz' % outname))
1601
1602
1603
return None
0 commit comments