-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi,
When trying to read a .nd2 file located on a network drive (samba share) in Windows the reading fails with a FileNotFoundError. This only happens in newer versions of the nd2 package, and is due to the line:
65: path = Path(path).expanduser().resolve()
in _readers/protocols.py.
When running Path.resolve() on a network path in Windows it seems to resolve the path to a format that cannot be used as a raw path downstream. Not sure what the best fix is (if you do want to fix this), but in my hands replacing .resolve() with .absolute() fixed the issue and maintains some of the functionality of .resolve().
Metadata
Metadata
Assignees
Labels
No labels