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

Internal Server Error when expand_mappings=true is used in conjunction with include= #4

Open
twktheainur opened this issue Apr 26, 2018 · 2 comments

Comments

@twktheainur
Copy link

twktheainur commented Apr 26, 2018

stack.txt
When expand_mappings=true and we do not restrict the ontologies to use for the annotation, using include=X (any attribute) leads to Internal Server Error.

This causes Internal Server Error
http://data.bioontology.org/annotator?text=cancer&include=prefLabel&display_links=false&display_context=false&expand_mappings=true

This works:
http://data.bioontology.org/annotator?text=cancer&include=prefLabel&display_links=false&display_context=false&expand_mappings=true&ontologies=NCIT,GO

This works:
http://data.bioontology.org/annotator?text=cancer&display_links=false&display_context=false&expand_mappings=true

I am including a stack trace from ontologies_api
stack.txt

@jonquet
Copy link

jonquet commented May 2, 2018

@graybeal Just to be sure you have seen this. This shall not be a big fix.

@graybeal
Copy link

Reference also ncbo/bioportal_web_ui#7

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

3 participants