ncbo / ncbo_annotator

To automatically process a piece of data text to annotate it with relevant ontology concepts and return the annotations.
http://bioportal.bioontology.org/annotator
Other
18 stars 9 forks source link

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

Open twktheainur opened 6 years ago

twktheainur commented 6 years ago

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 commented 6 years ago

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

graybeal commented 2 years ago

Reference also https://github.com/ncbo/bioportal_web_ui/pull/7