Hi All again!
In our FLIMfit application, we found an Omero image loading bug when trying to access an image from later (5.0.2) server with newer (5.0.5) OMEROMatlab. The bug was reproduced on both PC and Mac.
The reason is that, when looking for xml Modulo annotation, this code produces empty annotations
- Code: Select all
metadataService = session.getMetadataService();
map = metadataService.loadAnnotations(specifier, java.util.Arrays.asList(objId), java.util.Arrays.asList( 'ome.model.annotations.XmlAnnotation'), annotators, omero.sys.ParametersI());
annotations = map.get(objId);
The alternative method is to use “getObjectAnnotations.m” function (part of OMEROMatlab) - but it also returns empty annotations.
When instead one tries to access in-sync (5.0.5 "octopus" server with 5.0.5 OMEROMatlab) – both methods work normally.
Presumably, these things should be backward compatible? - so it is likely a metadata issue.
Best,
Y.