Skip to content

Commit b70ce83

Browse files
Push to trigger CI
1 parent 891e462 commit b70ce83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nibabel/filename_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def _stringify_path(filepath_or_buffer: FileSpec) -> str:
3838
Adapted from:
3939
https://github.com/pandas-dev/pandas/blob/325dd68/pandas/io/common.py#L131-L160
4040
"""
41-
return str(pathlib.Path(filepath_or_buffer).expanduser())
41+
full_path = pathlib.Path(filepath_or_buffer).expanduser()
42+
return str(full_path)
4243

4344

4445
def types_filenames(

0 commit comments

Comments
 (0)