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 ec79b87 commit 7c1e34cCopy full SHA for 7c1e34c
src/zarr/core/array.py
@@ -461,8 +461,11 @@ async def create(
461
raise ValueError("Only one of chunk_shape or chunks can be provided.")
462
463
if chunks:
464
+ chunks = parse_shapelike(chunks)
465
_chunks = normalize_chunks(chunks, shape, dtype_parsed.itemsize)
466
else:
467
+ if chunk_shape:
468
+ chunk_shape = parse_shapelike(chunk_shape)
469
_chunks = normalize_chunks(chunk_shape, shape, dtype_parsed.itemsize)
470
471
result: AsyncArray[ArrayV3Metadata] | AsyncArray[ArrayV2Metadata]
0 commit comments