Repository navigation
Knowledge Graph: a region links its UBERON term and named atlas areas; custom entity only with neither - #36
Merged
Merged
Conversation
…; custom entity only with neither Decided 2026-11-25: a region label narrower than its UBERON term is named in the Knowledge Graph by that term until an atlas area is given, and the hemisphere is not exported until a place for it is named. Both stay in the metadata record, BIDS and NWB.
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.
Third pull request of 0.1.4. The anatomical location of an electrode array links what already exists instead of wrapping it.
atlas area: the exact name of the area's entity, one name or a list), that entity is looked up in the Knowledge Graph space the registry gives (area_space) and referenced next to the UBERON term. It is never built here; a name the space does not hold stops the build.Two exceptions to "never lose information", decided on 2026-11-25:
Both stay in the metadata record, the BIDS files and the NWB files, which this pull request does not touch.
Schemas:
atlas areatakes a string or a list (recordings schema 1.1, hardware schema 1.3); existing files stay valid.Tried offline on 14 datasets: 25 custom entities become 2, and 460 of 475 array usages point to a UBERON term. Tried read-only against the Knowledge Graph: a named area is found and referenced, a wrong name raises.
The existing anatomy test follows the new rule and covers a list; 175 tests pass.