You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This kind of error can be raised during BTE's creative-mode for chem affects gene because the 4th and 5th templates for both "increases" and "decreases" use interacts_with - so responses can theoretically have Edges with interacts_with. But in practice, it seems uncommon for BTE to get to the 4th template.
I consider this less important and unlikely to cause issues downstream...but maybe it'd be good to ask about this anyways?
Regarding creative-mode, this could be addressed by replacing interacts_with -> physically_interacts_with for the templates. But if we want to get this in before code-freeze, it has to be done ASAP (@tokebe , thoughts?)
This originates from us (our x-bte annotations using interacts_with), so we'd be the ones starting data-modeling / reasoner-validator discussions.
Addressed by replacing interacts_with -> physically_interacts_with in the templates.
Retested here and I confirmed that removal of the templates addresses this issue. Specifically: the TRAPI validation error isn't raised anymore for the response to what chem decreases activity/abundance of MAPK8IP3 NCBIGene:23162: new_MAPK8IP3decreased.txt
Previously I identified that there was a TRAPI 1.4 validation error whenever
interacts_with
was the predicate for a QEdge or Edge.This kind of error can be raised during BTE's creative-mode for
chem affects gene
because the 4th and 5th templates for both "increases" and "decreases" useinteracts_with
- so responses can theoretically have Edges withinteracts_with
. But in practice, it seems uncommon for BTE to get to the 4th template.Note: the most recent changes to the templates did not adjust / add the
interacts_with
.Example responses that raise this error:
NCBIGene:7503
: XISTincreased.txtNCBIGene:378938
: MALAT1increased.txtNCBIGene:23162
: MAPK8IP3decreased.txtDRUGBANK:DB00540
interacts with what other genes: interacts.txtThe reasoner-validator raises the following:
Snippet of error info for Edges:
Error info for QEdge:
These errors are occurring because
interacts_with
is a mixin and doesn't have canonical_predicate information.The text was updated successfully, but these errors were encountered: