ranking-agent / gamma-viewer

MIT License
0 stars 2 forks source link

crashing the viewer #8

Closed cbizon closed 3 years ago

cbizon commented 4 years ago

The output from answer coalescence is causing the viewer to crash. This might be (is probably?) a problem with the json I'm generating, but I'm not sure where. This is the json I am sending to the viewer:

(outdated json removed)

The viewer shows the question fine, but when I click on the other tabs, everything vanishes.

You can see the whole thing in https://github.com/ranking-agent/AnswerCoalesce/blob/master/documentation/experiments/Famotidine.ipynb. (You have to be on the renci vpn to reach robokop messenger though.)

cbizon commented 4 years ago

Here's an updated json after fixing some bugs in Answer Coalescer (still crashes gamma viewer though)

ontology_output.json.txt

maximusunc commented 3 years ago

This might have been due to the answers having sets. But update it to TRAPI 1.0 and try it with v0.2.0 and see if it works. If it doesn't, please post the updated json here and I will take a look at it.