Skip to content

Commit 0a03492

Browse files
committed
fix tests
1 parent d930fe2 commit 0a03492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zarr/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def _init_array_metadata(store, shape, chunks=None, dtype=None, compressor='defa
443443
order=order, filters=filters_config)
444444
key = _path_to_prefix(path) + array_meta_key
445445

446-
if getattr(store, "_store_version", 3) == 3:
446+
if getattr(store, "_store_version", 2) == 3:
447447
store[key] = encode_array_metadata_v3(meta)
448448
else:
449449
store[key] = encode_array_metadata(meta)

0 commit comments

Comments
 (0)