We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0caf38 commit 23463deCopy full SHA for 23463de
src/napari_deeplabcut/_reader.py
@@ -89,7 +89,7 @@ def read_images(path):
89
# Retrieve filepaths exactly as parsed by pims
90
filepaths = []
91
for filepath in glob.iglob(path):
92
- _, *relpath = filepath.rsplit(os.sep, 3)
+ relpath = Path(filepath).parts[-3:]
93
filepaths.append(os.path.join(*relpath))
94
params = {
95
"name": "images",
0 commit comments