-
-
Notifications
You must be signed in to change notification settings - Fork 350
Open
Labels
enhancementNew features or improvementsNew features or improvements
Description
It would be helpful for users and downstream libraries if the error thrown when attempting to create an array that already exists on disk was more specific. For example, this error isn't very clear and it isn't easy to wrap in error handling logic:
import zarr
zarr.create((10, 10), store='/tmp/test.zarr')
zarr.create((10, 10), store='/tmp/test.zarr')
# ValueError: path '' contains an array
This could perhaps raise a FileExistsError or at least include a message that describes the condition more clearly.
rabernat and hammer
Metadata
Metadata
Assignees
Labels
enhancementNew features or improvementsNew features or improvements