Skip to content
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

Unbound Nodes #248

Open
EvanDietzMorris opened this issue Mar 21, 2023 · 3 comments
Open

Unbound Nodes #248

EvanDietzMorris opened this issue Mar 21, 2023 · 3 comments
Assignees

Comments

@EvanDietzMorris
Copy link
Contributor

If you submit a question with no bound nodes, for example gene - related to - disease or phenotype, qgraph will pass along an Error from aragorn-robokop, and says try again later. This is something aragorn considers an invalid message and won't work later. We should prevent these queries from being sent or at least provide a more informative/accurate error message.

@karafecho
Copy link

FWIW, I just ran a query for asthma - biolink:related_to - Gene. Ran just fine.

@EvanDietzMorris
Copy link
Contributor Author

That's because "asthma" would get translated into a node ID by the name resolver, so the trapi sent to the ara does contain a bound node.

@karafecho
Copy link

karafecho commented Jun 23, 2023

Oh, sorry, I misread your comment. Yes, I agree that you have to have at least one node bound. The error message should be "please select at least one node".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants