You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicks on the "Get Annotations" button on the Annotator page are handled by the get_annotations JS function. There's a line in the function that sets the "raw" parameter to always be true:
// UI checkbox to control using the batch call in the controller.
params.raw = true; // do not use batch call to resolve class prefLabel and ontology names.
The comments appear to indicate that using the /batch endpoint to resolve class preferred labels and ontology names was disabled. I dug around in the commit history and found said checkbox was removed 8 years ago in this commit.
The end result is that we have some unreachable methods in the AnnotatorController, including:
massage_annotated_classes
get_annotated_classes
simplify_annotated_classes
... and one in the ApplicationController:
get_batch_results
For testing purposes, I set the "raw" parameter to false in my local dev environment. The methods referred to above no longer work - a simple action like inserting our sample text and attempting to fetch annotations results in a 200 OK status, but the page reports no annotations found. The expected result with our sample text is that annotations are returned and displayed.
The text was updated successfully, but these errors were encountered:
Clicks on the "Get Annotations" button on the Annotator page are handled by the
get_annotations
JS function. There's a line in the function that sets the "raw" parameter to always be true:The comments appear to indicate that using the /batch endpoint to resolve class preferred labels and ontology names was disabled. I dug around in the commit history and found said checkbox was removed 8 years ago in this commit.
The end result is that we have some unreachable methods in the AnnotatorController, including:
massage_annotated_classes
get_annotated_classes
simplify_annotated_classes
... and one in the ApplicationController:
get_batch_results
For testing purposes, I set the "raw" parameter to false in my local dev environment. The methods referred to above no longer work - a simple action like inserting our sample text and attempting to fetch annotations results in a 200 OK status, but the page reports no annotations found. The expected result with our sample text is that annotations are returned and displayed.
The text was updated successfully, but these errors were encountered: