Skip to content

Commit dcbde6e

Browse files
committed
Merge remote-tracking branch 'upstream/maint/20.1.x'
2 parents 11683c7 + 34a0b77 commit dcbde6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wrapper/fmriprep_docker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ def __call__(self, parser, namespace, values, option_string=None):
237237

238238
def _is_file(path, parser):
239239
"""Ensure a given path exists and it is a file."""
240+
path = os.path.abspath(path)
240241
if not os.path.isfile(path):
241242
raise parser.error(
242243
"Path should point to a file (or symlink of file): <%s>." % path

0 commit comments

Comments
 (0)