You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But maybe we can wrap it with pathlib.Path to make sure it works...?
Since you copy + paste from windows finder, it gives you path with \
but users might not know of pathlib.Path, especially when you're using high-level interface like workflows.
The text was updated successfully, but these errors were encountered:
I tried it in a Windows VM and it seems to work with backslashes. But you have to remember to use a raw string. Otherwise, backslashes are interpreted as escape sequences. (This is not very nice for users but there is nothing we can do about it.)
We're not handling
str
path and just pass it toh5py.File
herescippnexus/src/scippnexus/file.py
Lines 50 to 53 in 94779e6
But maybe we can wrap it with
pathlib.Path
to make sure it works...?Since you
copy
+paste
from windows finder, it gives you path with\
but users might not know of
pathlib.Path
, especially when you're using high-level interface likeworkflow
s.The text was updated successfully, but these errors were encountered: