Skip to content

Commit a6ff630

Browse files
committed
outputs still need be fixed
1 parent fac8b94 commit a6ff630

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,12 +1590,12 @@ def _list_outputs(self):
15901590

15911591
def _gen_fname(self, name):
15921592
path, outname, ext = split_filename(self.inputs.out_file)
1593-
method = self.inputs.method
1593+
15941594

15951595
if name == 'original_segmentations':
1596-
return op.abspath('%s_all_%s_origsegs.nii.gz' % (outname, method))
1596+
return op.abspath('%s_all_none_origsegs.nii.gz' % outname)
15971597
if name == 'segmentation_file':
1598-
return op.abspath('%s_all_%s_firstseg.nii.gz' % (outname, method))
1598+
return op.abspath('%s_all_none_firstseg.nii.gz' % outname)
15991599

16001600
return None
16011601

0 commit comments

Comments
 (0)