Skip to content

Commit 02b0db2

Browse files
author
bpinsard
committed
fixing freesurfer relative path outputs not valid
1 parent d8ca85a commit 02b0db2

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
@@ -832,7 +832,7 @@ def _get_files(self, path, key, dirval, altkey=None):
832832
key = altkey
833833
globpattern = os.path.join(
834834
keydir, ''.join((globprefix, key, globsuffix)))
835-
return glob.glob(globpattern)
835+
return [os.path.abspath(f) for f in glob.glob(globpattern)]
836836

837837
def _list_outputs(self):
838838
subjects_dir = self.inputs.subjects_dir

0 commit comments

Comments
 (0)