Page 1 of 1
Seeing the ID/Description of DoubleAnnotations
Posted:
Thu Oct 30, 2014 10:56 am
by gyellen
I have placed a series of DoubleAnnotations, referenced by my Images, in an OME-TIFF.
When imported into OMERO, I can see the values, but no indication of their ID or Description. I have tried linking a CommentAnnotation to the DoubleAnnotation, and this also does not help.
Is there a way to see the ID or Description or linked CommentAnnotation next to each Double value?
Is there a way to search in Omero based on these values, or the values of CommentAnnotation?
(I can't seem to search anything successfully in Omero at the moment, including filenames or ImageDescriptions. Not sure why.)
Thanks - gary
Re: Seeing the ID/Description of DoubleAnnotations
Posted:
Thu Oct 30, 2014 11:27 am
by gyellen
Sorry, I just discovered XMLValid. Looks like my Annotation ID's are invalid. Is the only valid ID something like "Annotation:2"?
g
Re: Seeing the ID/Description of DoubleAnnotations
Posted:
Thu Oct 30, 2014 12:14 pm
by wmoore
In the webclient, namespace and description are displayed for Double Annotations in a tool-tip.
Just for the record, here's the code I just used to add this.
- Code: Select all
>>> da = omero.model.DoubleAnnotationI()
>>> da.setDoubleValue(omero.rtypes.rdouble(200))
>>> da.setDescription(omero.rtypes.rstring("Test display of description in clients"))
>>> da.setNs(omero.rtypes.rstring("omero.test.ns"))
>>> l = omero.model.ProjectAnnotationLinkI()
>>> l.setParent(omero.model.ProjectI(701, False))
>>> l.setChild(da)
>>> conn.getUpdateService().saveObject(l)
Re: Seeing the ID/Description of DoubleAnnotations
Posted:
Thu Oct 30, 2014 12:29 pm
by gyellen
Thanks, Will.
I fixed the XML details, and I see that this works for value (Double, Boolean, Timestamp) annotations in the webclient (but not the OMERO.insight win client).
Nothing comparable for CommentAnnotations?
Thanks - gary
Re: Seeing the ID/Description of DoubleAnnotations
Posted:
Thu Oct 30, 2014 3:59 pm
by wmoore
For the searching issues you're having, please read the "Missing Search Results" and "Re-indexing" sections here:
https://www.openmicroscopy.org/site/sup ... ch-resultsCertainly Comments should be found by searches.
If you just check the "Annotation" checkbox in the Insight / web client searching, it will only search for comments, files tags etc.
I have added the complete support for display of Namespace and Description on all annotations to our to-do list.
Will.
Re: Seeing the ID/Description of DoubleAnnotations
Posted:
Fri Oct 31, 2014 1:11 am
by gyellen
Thanks a lot, WIll.
The search problems were solved with rebuilding of the index.
BTW, I've also noticed that the deltaT values for each frame (under the acquisition tab, for each channel) is another thing that works properly in the web client, but not in the Omero.insight (5.0.5 Win) client.
Best regards,
Gary
Re: Seeing the ID/Description of DoubleAnnotations
Posted:
Fri Oct 31, 2014 10:57 am
by Dominik
Hi Gary,
may I ask you, what you mean with "deltaT values don't work properly in Insight"? Then I could create a ticket for that, respectively start working on a fix for that issue. I just tested this with a couple of images and couldn't see a difference between Web and Insight. Is this related to specific images only?
Kind Regards,
Dominik
Re: Seeing the ID/Description of DoubleAnnotations
Posted:
Wed Nov 05, 2014 2:31 pm
by gyellen
Re: Seeing the ID/Description of DoubleAnnotations
Posted:
Wed Nov 05, 2014 3:28 pm
by Dominik
Thanks Gary for submitting an example file. You are right, OMERO.web shows deltaT values whereas Insight doesn't show any values for the provided images. I'll investigate this issue.
Kind Regards,
Dominik
Re: Seeing the ID/Description of DoubleAnnotations
Posted:
Mon Nov 10, 2014 10:18 am
by wmoore
Hi Gary,
FYI: Web client display of ID, description and namespaces for all annotations are in
https://github.com/openmicroscopy/openm ... /pull/3175