We're Hiring!

Seeing the ID/Description of DoubleAnnotations

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Seeing the ID/Description of DoubleAnnotations

Postby gyellen » Thu Oct 30, 2014 10:56 am

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
gyellen
 
Posts: 24
Joined: Fri Oct 24, 2014 1:19 am

Re: Seeing the ID/Description of DoubleAnnotations

Postby gyellen » Thu Oct 30, 2014 11:27 am

Sorry, I just discovered XMLValid. Looks like my Annotation ID's are invalid. Is the only valid ID something like "Annotation:2"?
g
gyellen
 
Posts: 24
Joined: Fri Oct 24, 2014 1:19 am

Re: Seeing the ID/Description of DoubleAnnotations

Postby wmoore » Thu Oct 30, 2014 12:14 pm

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)
Attachments
Screen Shot 2014-10-30 at 12.03.41.png
Screen Shot 2014-10-30 at 12.03.41.png (20.29 KiB) Viewed 3825 times
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: Seeing the ID/Description of DoubleAnnotations

Postby gyellen » Thu Oct 30, 2014 12:29 pm

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
gyellen
 
Posts: 24
Joined: Fri Oct 24, 2014 1:19 am

Re: Seeing the ID/Description of DoubleAnnotations

Postby wmoore » Thu Oct 30, 2014 3:59 pm

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-results

Certainly 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.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: Seeing the ID/Description of DoubleAnnotations

Postby gyellen » Fri Oct 31, 2014 1:11 am

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
gyellen
 
Posts: 24
Joined: Fri Oct 24, 2014 1:19 am

Re: Seeing the ID/Description of DoubleAnnotations

Postby Dominik » Fri Oct 31, 2014 10:57 am

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
User avatar
Dominik
Team Member
 
Posts: 149
Joined: Mon Feb 10, 2014 11:26 am

Re: Seeing the ID/Description of DoubleAnnotations

Postby gyellen » Wed Nov 05, 2014 2:31 pm

Hi Dominik - please see http://qa.openmicroscopy.org.uk/qa/feedback/10330
Best - gary
gyellen
 
Posts: 24
Joined: Fri Oct 24, 2014 1:19 am

Re: Seeing the ID/Description of DoubleAnnotations

Postby Dominik » Wed Nov 05, 2014 3:28 pm

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
User avatar
Dominik
Team Member
 
Posts: 149
Joined: Mon Feb 10, 2014 11:26 am

Re: Seeing the ID/Description of DoubleAnnotations

Postby wmoore » Mon Nov 10, 2014 10:18 am

Hi Gary,

FYI: Web client display of ID, description and namespaces for all annotations are in https://github.com/openmicroscopy/openm ... /pull/3175
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest