Skip to content

Commit f93aba7

Browse files
authored
Merge pull request #365 from scott-huberty/import_pathlib
FIX: nest pathlib import in fix_multi_source_name
2 parents 7b1e91d + ba7d191 commit f93aba7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nibabies/utils/misc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def fix_multi_source_name(in_files):
2020
'/path/to/sub-045_T1w.nii.gz'
2121
"""
2222
import re
23+
from pathlib import Path
2324

2425
from nipype.utils.filemanip import filename_to_list
2526

0 commit comments

Comments
 (0)