Skip to content

Commit 58d85cc

Browse files
committed
fix: update to use abspath for out_file
1 parent 54040e5 commit 58d85cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def _get_outfilename(self):
362362
newpath=os.getcwd(),
363363
suffix=suffix,
364364
use_ext=False)
365-
return outfile
365+
return os.path.abspath(outfile)
366366

367367
def _list_outputs(self):
368368
outputs = self.output_spec().get()

0 commit comments

Comments
 (0)