Skip to content

feat(catalog): add tissue/disease facet-hierarchy columns to schema - #69

Merged
timtreis merged 1 commit into
mainfrom
feat/catalog-facet-columns
Nov 5, 2026
Merged

timtreis merged 1 commit into
mainfrom
feat/catalog-facet-columns

Conversation

@timtreis

@timtreis timtreis commented Nov 5, 2026

Copy link
Copy Markdown
Member

Adds the 8 facet-hierarchy columns the hub cut now emits to CATALOG_COLUMNS so the client carries them:

  • tissue_system, tissue_system_id, tissue_organ, tissue_organ_id
  • disease_class, disease_class_id, disease_group, disease_group_id

All nullable string, not required (old parquets without them still validate; the hub emits them as part of the facet-hierarchy work merged in the hub main). Names/dtypes matched against the hub publish/catalog.py facet computation.

Scope note: this only declares the columns. Whether tissue_system/organ and disease_class/group become filterable FACETS (for the site tree) is a separate client/web decision, left out here.

The hub cut emits tissue_system/_id, tissue_organ/_id, disease_class/_id and
disease_group/_id (computed from the pinned UBERON/MONDO node graphs + anchor
tables). Declare them as nullable string columns so the client carries them.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 spatialdata-db | 🛠️ Build #35678669 | 📁 Comparing 455c060 against latest (7170bfe)

  🔍 Preview build  

1 file changed
± reference/catalog-columns.html

@codecov

codecov Bot commented Nov 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.67%. Comparing base (7170bfe) to head (455c060).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   94.67%   94.67%           
=======================================
  Files          22       22           
  Lines        2291     2291           
=======================================
  Hits         2169     2169           
  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 merged commit c73d54c into main Nov 5, 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