-
Notifications
You must be signed in to change notification settings - Fork 8
Use Babel's preferred_name for clique labels #386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
1b8329b
Store clique preferred_name in Redis as a properties JSON
gaurav cf6c396
Use Babel's preferred_name for clique labels, keep the old algorithm …
gaurav 11a4e3d
Merge remote-tracking branch 'origin/load-faster' into use-preferred-…
gaurav 624f8cc
Test loading a clique with both preferred_name and IC
gaurav 06b8420
Test taxa retrieval from id_to_eqids_db; document not to store clique…
gaurav c8483c4
Explain the string-vs-float ic in the loader integration test
gaurav b6a79b0
Test create_node's preferred_name read path
gaurav 9727bd9
Use encoding='utf8' consistently for the db-5 read
gaurav a7fa68e
Fix "algorithem" typo in the frozen fallback comment
gaurav 9429c62
Test that conflation uses the leading identifier's preferred_name
gaurav 244065c
Add CDK2 gene/protein conflation test fixtures
gaurav 4b9dc9b
Test loading and querying the gene/protein conflation
gaurav e20363d
Document how to query the frontend against loaded test data
gaurav b419bd7
Move frontend end-to-end test guidance to tests/CLAUDE.md
gaurav File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Loader notes | ||
|
|
||
| ## Don't store the clique-level `taxa` field | ||
|
|
||
| Babel compendium lines carry a clique-level `taxa` list *and* a per-identifier | ||
| `t` list on each entry in `identifiers`. The clique-level `taxa` is just the | ||
| union of the per-identifier `t` values, so persisting it separately would be | ||
| redundant. | ||
|
|
||
| `load_compendium` already writes the whole `identifiers` list (including each | ||
| `t`) into `id_to_eqids_db`, so taxa are retrievable per-identifier from there. | ||
| Do **not** add `taxa` to the db-5 clique-property JSON — read `t` from the | ||
| `id_to_eqids_db` blob instead. (See the taxa assertion in | ||
| `tests/test_loader_integration.py`.) |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.