-
Notifications
You must be signed in to change notification settings - Fork 11
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
Query does not match criteria, skipping PFOCR figure enrichment #837
Comments
To fix this, we need to rework how BTE checks if a result is eligible for enrichment. Previously, we checked on the basis that at least 2 QNodes are bound NCBIGenes by some result. Instead, we want to go through each result and retrieve all nodes used to support it, whether bound to the QGraph or as part of a support graph (which means we'll have to recursively traverse results for QNodes), and then check if at least 2 of those nodes are NCBIGenes. This implementation should be CURIE-prefix agnostic, meaning that we'll want to first check node primary ID for a match, and then the equivalent IDs if the primary doesn't match. Tracking of This enrichment already states its matches as curies rather than QNodes, so no structural changes to the data added to results should be necessary. |
Also using this issue to track #838 (comment) Part 1, we should provide both figureUrl and pfocrUrl. |
FYI: the "aux-graph" problem was noted last year as a potential issue in #613 (comment) |
Actually, what we want here is to gather all the result nodes in a TRAPI response and perform the enrichment across all of them as a single test (not each result separately). This is a dramatic change to the current system, so perhaps should not be pursued, especially given the other parallel efforts to perform enrichment at the ARS level. Ok to close this ticket? |
Note from internal discussion: The above examples are not actually addressed by the changes being tracked by this issue (those being nested support graph behavior and pfocrUrl addition), this is fine. A new issue will be made to track adding new ID types to enrichment behavior. |
I found a case where PFOCR result augmentation is consistently not happening, because the PFOCR queries are failing (error status code 500, connection timeout??). Console logs: permethrin_increases_consoleLogs.txt Examples of what's in logs
Response: Console:
Query I ran
from an example in #842 (comment)
Note: this commit addresses bug where these PFOCR query failures were causing BTE to drop all results for the associated template. biothings/bte_trapi_query_graph_handler@9fad32d |
Notes:
See #847 for ideas on changing result augmentation. |
There never was a log that declared what server enrichment was using, and it's kinda unnecessary -- updated server selection works on the |
Relevant changes deployed to Prod. Tracking additional work in #847 |
Getting this log message for queries that I would expect to see results:
Query does not match criteria, skipping PFOCR figure enrichment
.Jackson noted:
Here are a few example queries:
See this gsheet for more details and examples: https://docs.google.com/spreadsheets/d/1-7pbdfiULj5PZ-eZcZDVW8ljK0KV1utyiXGW1Fi6pwc/edit?gid=0#gid=0
The text was updated successfully, but these errors were encountered: