RobokopU24 / qgraph

ROBOKOP UI
1 stars 0 forks source link

Unbound Nodes #248

Open EvanDietzMorris opened 1 year ago

EvanDietzMorris commented 1 year ago

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 commented 1 year ago

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

EvanDietzMorris commented 1 year ago

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 commented 1 year ago

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".