We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a51c5 commit 06086dcCopy full SHA for 06086dc
zarr/storage.py
@@ -133,7 +133,7 @@ def rmdir(store: StoreLike, path: Path = None):
133
this will be called, otherwise will fall back to implementation via the
134
`Store` interface."""
135
path = normalize_storage_path(path)
136
- if hasattr(store, "rmdir"):
+ if hasattr(store, "rmdir") and store.is_erasable(): # type: ignore
137
# pass through
138
store.rmdir(path) # type: ignore
139
else:
0 commit comments