Results metainfo dynamically imported by parsers causing issues.
The EELS parser is dynamically importing some metainfo into
results. The presence of this metainfo is correctly detected by the GUI through the GUI artifacts that are created by the CLI.
Some parts of the API are, however, not aware of these dynamic imports. E.g. the
suggestions endpoint reads some details about the ES annotations from the
DocumentType-object, which is not aware of these properties. The search API reads some annotation properties from this object, so they are also probably not up-to-date with the dynamic imports.
One manifestation of the problem is seen if one starts typing input to the GUI search bar: the GUI artifacts state that
eels.detector_type is a quantity that has suggestions, but the API cannot find any annotations for this, resulting in an API error.