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
Accessing a file via scippnexus with a relative or absolute path that ends in an extraneous '/' raises a KeyError due to attempting to access the empty path'' in the following code snippet
Accessing a file via
scippnexus
with a relative or absolute path that ends in an extraneous'/'
raises aKeyError
due to attempting to access the emptypath
''
in the following code snippetscippnexus/src/scippnexus/base.py
Lines 382 to 387 in 86a4bfe
I expected the trailing forward slash to not raise an error; and for accessing, e.g.,
'/entry'
and/entry/'
, to result in the same object.Is there a reason that a trailing
'/'
should raise an error?The text was updated successfully, but these errors were encountered: