[ome-users] List all tags

John Webber (NBI) John.Webber at nbi.ac.uk
Thu Mar 13 10:47:01 GMT 2014


All,

Please can you advice how I can list all of the tags owned by a given Omero user account, using the Omero APIs?

I am able to list all tags for a project, dataset or an image, using code like the following:

    img = Blitz.getObject("Image", "479")
    for ann in img.listAnnotations():
        if ann.OMERO_TYPE == tag_type:
<do something>

Please can anyone assist in listing the tags for a specific user?

Thanks
John



--------------------------------------------------------------------------------------------------------------------------------------------
John Webber
Computing and Information Services
NBI Partnership Ltd
Norwich Research park
Colney Lane
Norwich
NR4 7UH

E-Mail: john.webber at nbi.ac.uk<mailto:john.webber at nbi.ac.uk>
Web:     http://www.nbi.ac.uk<http://www.nbi.ac.uk/>
Tel:         +44(0)1603 450 818

Helpdesk (Tel):  1234      HPC Support (Web):       http://hpc.nbi.ac.uk<http://hpc.nbi.ac.uk/>  (NBI  internal)
                                                HPC Support (Tel):           2003  (NBI internal)

The NBI Partnership Ltd provides non-scientific services to the Institute of Food Research, the John Innes Centre, The Genome Analysis Centre and The Sainsbury Laboratory

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20140313/b9265e5f/attachment.html>


More information about the ome-users mailing list