Skip to content

Commit 3679d8c

Browse files
committed
FIX: Coerce license path to pathlike
1 parent 7340c22 commit 3679d8c

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)