ontoportal-lirmm / 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
1 stars 2 forks source link

Leading spaces and shifted annotation highlights in the Annotator interface #25

Open jonquet opened 1 year ago

jonquet commented 1 year ago

(transfer from https://github.com/sifrproject/bioportal_web_ui/issues/15)

Spaces and newlines in the annotator text field before the actual text cause the annotation offsets shown in the results to be shifted by the number of spaces and newlines.

I managed to reproduce the problem on stageportal.lirmm.fr, bioportal.lirmm.fr and upstream on bioportal.bioontology.org.

image
jonquet commented 1 year ago

To be reproduced CC @mdorf for information as it also happen on the NCBO Annotator.