Skip to content

Error with spatialdata_io.xenium() reader #361

Open

Description

@enric-bazz

Hi,
I was trying to read a Xenium dataset donwloaded from the 10XGenomics portal at https://www.10xgenomics.com/datasets/xenium-ffpe-human-breast-biomarkers, with Xenium version 4.0.0. with the xenium reader, but I get this error:
'The file "/path/to/xenium/folder/morphology_focus.ome.tif" does not exist.'

I noticed the source code reads the "analysis_sw_version" of the '.xenium' file to asses the current version and it expects "xenium-4.0.0" for this case, but what I read in my 'experiment.xenium' is "analysis_sw_version": "R&D". I believe this might be the reason of this error occurring.

Activity

  1. LucaMarconato commented on Feb 1, 2026

    @LucaMarconato
    Member

    Thanks for reporting. Seems indeed to be an error in the metadata for that dataset. Looping in @stephenwilliams22

    A xenium_version optional argument may be added to the xenium() reader to let the user manually specify a version in cases like this when the version is known but it cannot be inferred by the dataset metadata.

  2. stephenwilliams22 commented on Feb 2, 2026

    @stephenwilliams22
    Collaborator

    Thanks @LucaMarconato. We're looking into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions