Add Anatomy metadata card to Dandiset landing page#2856
Open
bendichter wants to merge 1 commit into
Open
Conversation
Always renders an Anatomy section on the Dandiset landing page so missing anatomical metadata is surfaced prominently rather than hidden. When the dataset's `about` field contains Anatomy entries, each region is shown with its name, ontology prefix + local id, and a link to the OBO PURL term page (e.g. UBERON:0002437 -> http://purl.obolibrary.org/obo/UBERON_0002437). When absent, a warning card explains that indexed anatomy is missing and why it matters for discoverability. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Member
Author
|
@satra what do you think of this for "stink" around dandisets that don't have anatomy info? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Adds a dedicated Anatomy section to the Dandiset Overview tab that always renders — surfacing anatomical metadata when present and explicitly flagging it when missing. This addresses the request (from the 2026-06-22 metadata-quality discussion) for a prominent, per-dandiset indicator of missing metadata, focused first on anatomy.
The card is placed between Funding information and Protocols in the Overview tab.
Behavior
aboutfield (entries withschemaKey === "Anatomy") is listed with its name, ontology prefix + local id (e.g.UBERON: 0002437), and a link to the OBO PURL term page.Ontology links
Identifiers resolve prefix-agnostically to OBO PURLs:
UBERON:0002437→http://purl.obolibrary.org/obo/UBERON_0002437CL:0000242→http://purl.obolibrary.org/obo/CL_0000242Testing
Verified locally against sandbox (
npm run dev→api.sandbox.dandiarchive.org):100268http://purl.obolibrary.org/obo/UBERON_0002437200017eslintandvue-tsctype-check both pass.🤖 Generated with Claude Code