[ome-devel] Get list of Tags in Matlab

Michael Porter (Staff) m.porter at dundee.ac.uk
Thu Jan 7 15:10:26 GMT 2016


Hi Christophe

I’m not 100% sure, since I’ve never used it for this, but if you want to get a tags in a user/system centric way rather than an image-centric way, you need to get the metadataService from the session object (http://www.openmicroscopy.org/site/support/omero5.2/developers/Modules/Api.html ) . I think from here you can use the loadAnnotations method (http://downloads.openmicroscopy.org/omero/5.2.1/api/ome/api/IMetadata.html#loadAnnotations-java.lang.Class-java.util.Set-java.util.Set-java.util.Set-ome.parameters.Parameters-)

Michael.


From: ome-devel [mailto:ome-devel-bounces at lists.openmicroscopy.org.uk] On Behalf Of Christophe TREFOIS
Sent: 07 January 2016 13:38
To: OME External Developer List <ome-devel at lists.openmicroscopy.org.uk>
Subject: [ome-devel] Get list of Tags in Matlab

Hi all,

I have been trying to get a list of all tags using MATLAB and OMERO 5, and I’m sort of struggling.

I saw that Will posted some code for Python on the mailing a while back, but those functions are not available in Matlab.

Does anybody have any pointers how to do this without looping over all images?

Kind regards,

—
Christophe
Dr Christophe Trefois, Dipl.-Ing.
Technical Specialist / Post-Doc
UNIVERSITÉ DU LUXEMBOURG

LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
Campus Belval | House of Biomedicine
6, avenue du Swing
L-4367 Belvaux
T: +352 46 66 44 6124
F: +352 46 66 44 6949
http://www.uni.lu/lcsb
[Image removed by sender. Facebook]<https://www.facebook.com/trefex>  [Image removed by sender. Twitter] <https://twitter.com/Trefex>   [Image removed by sender. Google Plus] <https://plus.google.com/+ChristopheTrefois/>   [Image removed by sender. Linkedin] <https://www.linkedin.com/in/trefoischristophe>   [Image removed by sender. skype] <http://skype:Trefex?call>
----
This message is confidential and may contain privileged information.
It is intended for the named recipient only.
If you receive it in error please notify me and permanently delete the original message and any copies.
----



The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20160107/a1088666/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20160107/a1088666/attachment.jpg>


More information about the ome-devel mailing list