Skip to content

feat(catalog): obs_unit, segmentation and same_section columns - #61

Merged
timtreis merged 2 commits into
mainfrom
feat/catalog-obs-unit-segmentation
Nov 1, 2026
Merged

timtreis merged 2 commits into
mainfrom
feat/catalog-obs-unit-segmentation

Conversation

@timtreis

@timtreis timtreis commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Adds 3 optional string columns to the catalog contract. The engine produces them and the website (web #54) reads them.

  • obs_unit: what one table row is: cells, spots, bins or pixels. Null when unknown.
  • segmentation_source: who made the cells: depositor, vendor or spatialdata-db. Null when the rows are not cells.
  • segmentation_method: set only when spatialdata-db segmented the cells, e.g. "Cellpose-SAM (cellpose 4.2.1, cpsam)".

None of them are required, so older catalogs still validate.

Second commit: 4 more optional columns for re-releases of one 10x library (curation's source_metadata.same_section), which web and paper dedupe on:

  • same_section_group: the group id, i.e. the newest member's sddb_id.
  • same_section_relation: rerelease, relisted_page or none.
  • same_section_release: the Space Ranger version.
  • same_section_panel_of: list[string], the other libraries' groups on the same tissue section.

The engine side is theislab/spatialdata-db#349.

@read-the-docs-community

read-the-docs-community Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 spatialdata-db | 🛠️ Build #35557253 | 📁 Comparing a569a2a against latest (9dc5d93)

  🔍 Preview build  

4 files changed
± index.html
± intro/assays.html
± intro/db-stack.html
± reference/catalog-columns.html

@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.64%. Comparing base (9dc5d93) to head (a569a2a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #61   +/-   ##
=======================================
  Coverage   94.64%   94.64%           
=======================================
  Files          22       22           
  Lines        2278     2278           
=======================================
  Hits         2156     2156           
  Misses        122      122           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timtreis timtreis changed the title feat(catalog): obs_unit and segmentation columns feat(catalog): obs_unit, segmentation and same_section columns Nov 1, 2026
@timtreis
timtreis merged commit 1b1c135 into main Nov 1, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant