Skip to content

Commit ba7d191

Browse files
committed
FIX: nest pathlib import in fix_multi_source_name
- I've kept the top level import because other functions still use Path. Let's see if that causes any flakes with the linter...
1 parent 7b1e91d commit ba7d191

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)