- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Description
We're not handling str path and just pass it to h5py.File here
scippnexus/src/scippnexus/file.py
Lines 50 to 53 in 94779e6
| else: | |
| self._file = h5py.File(name, *args, **kwargs) | |
| self._manage_file_context = True | |
| super().__init__(self._file, definitions=definitions) | 
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.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers