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 63f282a commit b9a7b1aCopy full SHA for b9a7b1a
nipype/interfaces/freesurfer/model.py
@@ -635,8 +635,9 @@ class SegStats(FSCommand):
635
636
def _list_outputs(self):
637
outputs = self.output_spec().get()
638
- outputs['summary_file'] = os.path.abspath(self.inputs.summary_file)
639
- if not isdefined(outputs['summary_file']):
+ if isdefined(self.inputs.summary_file):
+ outputs['summary_file'] = os.path.abspath(self.inputs.summary_file)
640
+ else:
641
outputs['summary_file'] = os.path.join(os.getcwd(), 'summary.stats')
642
suffices = dict(avgwf_txt_file='_avgwf.txt', avgwf_file='_avgwf.nii.gz',
643
sf_avg_file='sfavg.txt')
0 commit comments