Repository navigation
Include ontology classes in TermsForPub - #130
Merged
Merged
Conversation
The has_reference branch matched only Individuals, but FBbt classes cite papers for their definitions and synonyms. Anatomy papers such as Li et al. 2020 (FBrf0248215) are cited only by classes, so the query returned nothing. Match Individuals and Classes, excluding Deprecated terms. Show the SUBCLASSOF parent(s) as Type for class rows. Report why each term cites the pub (Definition, Synonym, Text-mined, Reference, Expression) from the edge typ. Add regression tests for both kinds.
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.
TermsForPub's
has_referencebranch matched only Individuals. FBbt classes cite papers for their definitions and synonyms, so anatomy papers cited only by classes returned nothing — e.g. Li et al. 2020 (FBrf0248215) is referenced by mushroom body (FBbt_00005801) and 107 other classes but the query returned 0.typ: Definition / Synonym / Text-mined / Reference (DataSets) / Expression.Against pdb: FBrf0248215 0 → 108, FBrf0227179 86 → 214, FBrf0242477 127 → 449; no previously returned row is lost. Eckstein 2024 (9,691 terms) runs in ~3 s uncached.
After release, cached v3-cached entries for affected pubs need an
X-Force-Refreshto drop the stalecount: 0.