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
I've definitely run into this before, but I would think this is coming directly from zarr-python (unless you think the mode isn't being passed somewhere)
Having a look at this, I agree it's coming from zarr-python. The issue is init_array takes an overwrite argument, which defaults to False and doesn't take into account the file mode of the store (which is what's being passed in the example above). I haven't time now, but should be possible to cook up a zarr-python-only reproducible example.
Passing
mode=w
toparse_url
does not truncate existing files as it should.Minimal example:
Fails with
ContainsArrayError: path '0' contains an array
when run the second time.The text was updated successfully, but these errors were encountered: