spatialdata icon indicating copy to clipboard operation
spatialdata copied to clipboard

Anndata version/encoding type compatibility issue when reading from the technology focus tutorial

Open matt-sd-watson opened this issue 4 months ago • 0 comments

I am attempting to read this Visium spatialdata store: https://spatialdata.scverse.org/en/latest/tutorials/notebooks/notebooks/examples/technology_visium.html

but receive this error, presumably from an Anndata versioning issue:

  File "/home/admin/anaconda3/lib/python3.12/site-packages/anndata/_io/specs/registry.py", line 171, in get_read
    raise IORegistryError._from_read_parts("read", self.read, src_type, spec)  # noqa: EM101
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
anndata._io.specs.registry.IORegistryError: No read method registered for IOSpec(encoding_type='null', encoding_version='0.1.0') from <class 'zarr.core.Array'>. You may need to update your installation of anndata.
Error raised while reading key 'raw' of <class 'zarr.core.Array'> from /

I am using Anndata 0.11.0 on Python 3.12. Are the tutorial datasets not backwards compatible with this Anndata version?

matt-sd-watson avatar Sep 09 '25 13:09 matt-sd-watson