Skip to content

Commit dba2594

Browse files
committed
fix: allow user-specified filters and compression
1 parent 4c18aaa commit dba2594

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/zarr/core/array.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3594,8 +3594,7 @@ async def create_array(
35943594
config=config_parsed,
35953595
)
35963596
else:
3597-
array_array, array_bytes, bytes_bytes = _get_default_encoding_v3(dtype_parsed)
3598-
sub_codecs = (*array_array, array_bytes, *bytes_bytes)
3597+
sub_codecs = _parse_chunk_encoding_v3(compression=compression, filters=filters, dtype=dtype)
35993598
codecs_out: tuple[Codec, ...]
36003599
if shard_shape_parsed is not None:
36013600
sharding_codec = ShardingCodec(chunk_shape=chunk_shape_parsed, codecs=sub_codecs)

0 commit comments

Comments
 (0)