-
Notifications
You must be signed in to change notification settings - Fork 21
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
It would be nice to "traffic light" the new xDTD #2168
Comments
ah - yeah, since xDTD isn't called via a web request (instead it essentially consists of doing local sqlite queries), it's not done concurrently (since there's no i/o waiting time for what exactly is the traffic light based on @isbluis? or, in other words, is there something missing you need to make it work? |
just need to call response.update_query_plan() with some suitable messages before the xDTD work begins and then again after when the xDTD work is complete. |
ah, got it. yeah we can do that easily |
is there an infores curie we should use to refer to xDTD in the query plan? also, I'm assuming we'd probably like to have a traffic light for xCRG as well? (easy to add in response.update_query_plan() calls for that as well while I'm in there..) and @isbluis - is there a branch I should commit this to? or just in and one more for @isbluis - did you already make those changes you proposed to fully remove the old DTD as a KP? if you haven't I'm happy to do that |
Hi Amy. The issue that made me pause is that there are multiple paths within the xDTD code block that exit before moving on to launching queries to other KPs, in which case it may be tricky to update the query_plan. I think it can all be done in master, as these are not likely to be breaking changes. |
ah, nice. yeah, that's a good point about the code path exiting - I'm actually not sure how lookup results are combined with ineferred results? I think that's something @kvnthomas98 did recently? that probably is important to understand in order to figure out how to properly update the query plan... so I'll hold off on making changes for now (discussing how this works with Kevin in Slack) |
ok, Kevin helped me understand how lookup answers are merged with inferred answers, and I just pushed some code to |
Is infores:arax-xdtd a real registered thing? I don't see it. Maybe add it to Steve's PR? https://github.com/biolink/biolink-model/pull/1403/files |
Or maybe it doesn't need to be. It looks like the primary_knowledge_source is recorded as infores:arax. So maybe having a fake KP name is okay here. Maybe it would be more honest to have the KP name be just "arax-xdtd" instead of "infores:arax-xdtd", since the latter is not a real thing. Same with infores:arax-normalized-google-distance. I think if we're going to use the infores prefix, it really ought to be in the ontology. Otherwise, just use a friendly name without a curie prefix. a trivial thing though.. |
definitely a weird observation. I never really understood what it was there for. Maybe the answer is that it doesn't actually do anything. Would be nice to understand and fix. |
great point, @edeutsch. I just removed the infores prefixes for those (in |
@isbluis - yeah, NGD is supposed to be used as a KP for qedges with the |
super, thanks! |
cool - can we close this issue? verified the traffic light appears as expected on |
yes, I only just merged that removal of the NGD KP to |
also, it's possible the NGD traffic light won't disappear until the KP info cache refreshes (post-deployment) |
@edeutsch wrote in RTXteam/RTX Issue 2052:
Originally posted by @edeutsch in #2052 (comment)
The text was updated successfully, but these errors were encountered: