File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
nipype/interfaces/freesurfer Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ Next release
88* FIX: Utility interface test dir (https://github.com/nipy/nipype/pull/986)
99* FIX: IPython engine directory reset after crash (https://github.com/nipy/nipype/pull/987)
1010* ENH: Resting state fMRI example with NiPy realignment and no SPM (https://github.com/nipy/nipype/pull/992)
11+ * FIX: Corrected Freesurfer SegStats _list_outputs to avoid error if summary_file is
12+ undefined (issue #994)(https://https://github.com/nipy/nipype/pull/996)
1113
1214Release 0.10.0 (October 10, 2014)
1315============
Original file line number Diff line number Diff line change @@ -635,8 +635,9 @@ class SegStats(FSCommand):
635635
636636 def _list_outputs (self ):
637637 outputs = self .output_spec ().get ()
638- outputs ['summary_file' ] = os .path .abspath (self .inputs .summary_file )
639- if not isdefined (outputs ['summary_file' ]):
638+ if isdefined (self .inputs .summary_file ):
639+ outputs ['summary_file' ] = os .path .abspath (self .inputs .summary_file )
640+ else :
640641 outputs ['summary_file' ] = os .path .join (os .getcwd (), 'summary.stats' )
641642 suffices = dict (avgwf_txt_file = '_avgwf.txt' , avgwf_file = '_avgwf.nii.gz' ,
642643 sf_avg_file = 'sfavg.txt' )
You can’t perform that action at this time.
0 commit comments