TranslatorSRI / NodeNormalization

Service that produces Translator compliant nodes given a curie
MIT License
9 stars 6 forks source link

/response removes results #132

Closed cbizon closed 2 years ago

cbizon commented 2 years ago

Do a lookup (any) and send the result to /response. The results are removed. Seems like this should not be passing tests.

jdr0887 commented 2 years ago

I wrote a test to call the cam-kp-api service with the default query specified in the Swagger interface. I then took those results & sent them in to a local running instance of the NN. The results were not removed. Could you add more details as to how I can replicate the problem?

cbizon commented 2 years ago

I'll see if I can reproduce it...

cbizon commented 2 years ago

simple_ad_treats.json.txt

Sending the json in this file to https://nodenormalization-sri.renci.org/1.2/response produces an empty ['message']['results']

jdr0887 commented 2 years ago

this is fixed as of PR #134