Skip to content

Commit a07f2e4

Browse files
committed
[codec] update blosc2 codec interface, fix #5
1 parent 223bff1 commit a07f2e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jdata/jdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def encode(d, opt={}):
200200
blosc2nthread = opt["nthread"]
201201
newobj["_ArrayZipData_"] = blosc2.compress2(
202202
newobj["_ArrayZipData_"],
203-
compcode=BLOSC2CODEC[opt["compression"]],
203+
codec=BLOSC2CODEC[opt["compression"]],
204204
typesize=d.dtype.itemsize,
205205
nthreads=blosc2nthread,
206206
)

0 commit comments

Comments
 (0)