scverse / scverse/spatialdata-io

Error with spatialdata_io.xenium() reader

Open
#361 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

xenium
Dominant language
Python
Stars
103
Forks
65
Avg merge
1h 8m
Merged PRs (30d)
3

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the spatialdata_io.xenium() reader and inspect how the experiment.xenium file's analysis_sw_version is interpreted for the Xenium 4.0.0 dataset. Reproduce the reported missing morphology_focus.ome.tif error with the linked 10X Genomics dataset; done means the reader handles this metadata correctly without requesting a nonexistent file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.