Skip to content

Commit 718ee13

Browse files
authored
empty path is fine after update to allow path=None for zarr v3 (#1142)
path=None support was previously added in gh-1085. This change should have been made at that time.
1 parent 505810c commit 718ee13

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

zarr/convenience.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,10 +1295,6 @@ def open_consolidated(store: StoreLike, metadata_key=".zmetadata", mode="r+", **
12951295
# default is to store within 'consolidated' group on v3
12961296
if not metadata_key.startswith('meta/root/'):
12971297
metadata_key = 'meta/root/consolidated/' + metadata_key
1298-
if not path:
1299-
raise ValueError(
1300-
"path must be provided to open a Zarr 3.x consolidated store"
1301-
)
13021298

13031299
# setup metadata store
13041300
meta_store = ConsolidatedStoreClass(store, metadata_key=metadata_key)

0 commit comments

Comments
 (0)