Skip to content

Commit 58c1d8f

Browse files
committed
use correct kwargs for compressor definition
1 parent d736507 commit 58c1d8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mdio/api/convenience.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def create_rechunk_plan(
150150
shape=metadata_array.shape,
151151
dtype=metadata_array.dtype,
152152
chunks=norm_chunks[:-1],
153-
compressor=header_compressor,
153+
compressors=header_compressor,
154154
overwrite=overwrite,
155155
)
156156
)
@@ -161,7 +161,7 @@ def create_rechunk_plan(
161161
shape=data_array.shape,
162162
dtype=data_array.dtype,
163163
chunks=norm_chunks,
164-
compressor=trace_compressor,
164+
compressors=trace_compressor,
165165
overwrite=overwrite,
166166
)
167167
)

0 commit comments

Comments
 (0)