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
Currently the code requires that anything written to a block be wrapped in ndarray, but I think it's possible to wrap bytes in ndarray without copying the memory:
However I was looking for a possibility to explicitly differentiate from ndarray but in this case I will probably just wrap the numpy calls in a custom tag/object
Is there a way to store any other types besides
ndarray
as a block in an ASDF file?I am looking for a simple way to serialize (and tag)
bytes
,bytearray
,BytesIO
or similar without going throughnumpy
Could this be done in an extension library or would this need changes in asdf?
The text was updated successfully, but these errors were encountered: