File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
nipype/interfaces/freesurfer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ class SegStats(FSCommand):
635
635
636
636
def _list_outputs (self ):
637
637
outputs = self .output_spec ().get ()
638
- outputs ['summary_file' ] = self .inputs .summary_file
638
+ outputs ['summary_file' ] = os . path . abspath ( self .inputs .summary_file )
639
639
if not isdefined (outputs ['summary_file' ]):
640
640
outputs ['summary_file' ] = os .path .join (os .getcwd (), 'summary.stats' )
641
641
suffices = dict (avgwf_txt_file = '_avgwf.txt' , avgwf_file = '_avgwf.nii.gz' ,
@@ -654,7 +654,7 @@ def _list_outputs(self):
654
654
newpath = os .getcwd (),
655
655
use_ext = False )
656
656
else :
657
- outputs [name ] = value
657
+ outputs [name ] = os . path . abspath ( value )
658
658
return outputs
659
659
660
660
def _format_arg (self , name , spec , value ):
You can’t perform that action at this time.
0 commit comments