Orbit annotations to OMERO

Dear all,

I’d like to transfer annotations from Orbit into OMERO like done here:

https://github.com/ome/omero-guide-orbit/blob/d8aa00d73f7ff38c47665dd6ea17873df9244bf6/scripts/orbit_roi_annotation_to_omero.groovy

but adding a description and name in addition:

RoiI roi = new RoiI()
roi.setImage(image)
roi.addShape(p)
roi.setName(rstring("name"))
roi.setDescription(rstring("desc"))
roisToSave.add(roi)

then in OMEROI cannot see name or description anywhere… I would expect to see something under “comment” for the ROI. Or is there another way to set the comment?

Regards,
Manuel

ok, with the hint of @j.burel I figured out how to set the comment:

p.setTextValue(rstring(ia.description))

where p is the shape assigned to the ROI.

Manuel

We have an open issue at https://github.com/ome/omero-iviewer/issues/326 for showing ROI Name/Description in iviewer.

great, thanks for keeping track on this!
Manuel