You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently use the pickle encoder and decoder; however, I've been requested to have the encoding/decoding process be doable through JSON encoder/decoder.
When dealing with compound structures, i.e., structured arrays, I run into a dimension issue. Below reproduces the issue. Is this structure supported and if so is there something I need to change so that the input item is in a specific format?
Minimal, reproducible code sample, a copy-pastable example if possible
File "~./json.py", line 75, in decode
dec[:] = items[:-2]
~~~^^^
ValueError: setting an array element with a sequence. The requested array would exceed the maximum number of dimension of 1.
Version and installation information
numcodecs: the dev branch via git clone and pip install -e .
mac OS
python 3.11
The text was updated successfully, but these errors were encountered:
I currently use the pickle encoder and decoder; however, I've been requested to have the encoding/decoding process be doable through JSON encoder/decoder.
When dealing with compound structures, i.e., structured arrays, I run into a dimension issue. Below reproduces the issue. Is this structure supported and if so is there something I need to change so that the input
item
is in a specific format?Minimal, reproducible code sample, a copy-pastable example if possible
This returns:
Version and installation information
The text was updated successfully, but these errors were encountered: