scverse / scverse/spatialdata

Simplify `read_table_and_validate()` for S3 storages

Open
#418 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
394
Forks
95
Avg merge
4d 3h
Merged PRs (30d)
7

Description

The function def read_table_and_validate() in src/spatialdata/_io/_utils.py can be simplified now that the new release of anndata handles remote consolidate metadata. See comment in the code.

Just a small fix required.

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 in src/spatialdata/_io/_utils.py at read_table_and_validate() and read the code comment about anndata's remote consolidate metadata handling. Simplify the function for S3-backed storage as described, while preserving table validation behavior; completion means the obsolete handling is removed and the existing behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, data
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.