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 2420f9e commit 8e9a3e3Copy full SHA for 8e9a3e3
src/zarr/core/array.py
@@ -4321,9 +4321,7 @@ async def init_array(
4321
chunk_grid=RegularChunkGrid(chunk_shape=shard_shape_parsed),
4322
)
4323
codecs_out = (sharding_codec,)
4324
- chunks_out = shard_shape_parsed
4325
else:
4326
- chunks_out = chunk_shape_parsed
4327
codecs_out = sub_codecs
4328
4329
if config is None:
@@ -4335,7 +4333,7 @@ async def init_array(
4335
4333
shape=shape_parsed,
4336
4334
dtype=zdtype,
4337
fill_value=fill_value,
4338
- chunk_shape=chunks_out,
+ chunk_shape=chunk_shape_parsed,
4339
chunk_key_encoding=chunk_key_encoding_parsed,
4340
codecs=codecs_out,
4341
dimension_names=dimension_names,
0 commit comments