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
% python test.py
Traceback (most recent call last):
File "/Users/dstansby/software/ome-zarr/ome-zarr-models-py/test.py", line 37, in <module>
pydantic_zarr.v2.ArraySpec.from_zarr(arr)
File "/Users/dstansby/software/ome-zarr/ome-zarr-models-py/.venv/lib/python3.12/site-packages/pydantic_zarr/v2.py", line 317, in from_zarr
fill_value=array.dtype.type(array.fill_value).tolist(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'tolist'
The text was updated successfully, but these errors were encountered:
I'm not 100% sure if this is a valid zarr v2 metadata, but it's erroring with
pydantic-zarr
:The text was updated successfully, but these errors were encountered: