ontoportal-lirmm / annotators

Web service to add functionalities to the http://bioportal.bioontology.org and similar ontology annotators
5 stars 6 forks source link

The annotations score is not display in the annotator #42

Closed syphax-bouazzouni closed 2 years ago

syphax-bouazzouni commented 2 years ago

The annotation scores is a feature added in our version of annotator, and we enable it by adding the request parameters "score=true". But somehow it is no more working here is an example of a request: http://services.agroportal.lirmm.fr/annotator?text=Melanoma%20is%20a%20malignant%20tumor%20of%20melanocytes%20which%20are%20found%20predominantly%20in%20skin%20but%20also%20in%20the%20bowel%20and%20the%20eye.&longest_only=false&exclude_numbers=false&whole_word_only=true&exclude_synonyms=false&expand_mappings=false&fast_context=false&certainty=false&temporality=false&experiencer=false&negation=false&score_threshold=0&confidence_threshold=0&score=cvalue&display_links=false&display_context=false&apikey=4704d385-84ec-4528-a519-c40ac166f141

After investigation it seems that it is related an ncbo_proxy matter, where it use http://data.agroportal.lirmm.fr/annotator instead of http://services.agroportal.lirmm.fr/annotator

Solution

Change the apache server configuration file to force to use http://services.agroportal.lirmm.fr/annotator and not the ncbo_proxy one. Todo so we add this line ProxyPass /annotator http://stageportal.lirmm.fr:8082/annotator/ timeout=1800 into /etc/httpd/conf.d/10-appliance.ontoportal.org_non-tls.conf

FIxes Todo

Optiona enhancement

Add/enhance the annotators deployments scripts https://github.com/agroportal/documentation/issues/214

Optional todos

syphax-bouazzouni commented 2 years ago

fixed image