Skip to content

Commit 6db1161

Browse files
committed
Merge pull request #979 from bpinsard/fix_freesurfer_abspath
Fix freesurfer abspath
2 parents 9a82862 + e8d5aa6 commit 6db1161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ def _get_files(self, path, key, dirval, altkey=None):
984984
key = altkey
985985
globpattern = os.path.join(
986986
keydir, ''.join((globprefix, key, globsuffix)))
987-
return glob.glob(globpattern)
987+
return [os.path.abspath(f) for f in glob.glob(globpattern)]
988988

989989
def _list_outputs(self):
990990
subjects_dir = self.inputs.subjects_dir

0 commit comments

Comments
 (0)