Hello,
I've been checking:
https://www.openmicroscopy.org/site/sup ... teway.html
and I've found no way to search (or retrieve) usertag information using REST API (JSON)
Is that something possible to be done?
Thanks in advance!
/webclient/load_tags/
def parseTags(annotations)
tag_annotations = list()
for ann in annotations:
if isinstance(ann._obj, TagAnnotationI):
// other annotation checks goes here, like NameSpace, etc.
tag_annotations.append(ann)
return tag_annotations.sort(key=lambda x: x.textValue)
def annotationsData_json (request, conn=None, _internal=False, **kwargs):
iid = kwargs['iid']
key = kwargs.get('key', None)
image = conn.getObject("Image", iid)
tagAnnotations = parseTags(image.listAnnotations())
// serialization
Return to Developer Discussion
Users browsing this forum: Google [Bot] and 1 guest