[ome-users] Dumping out metadata for each image id
Josh Moore
josh at glencoesoftware.com
Fri Jul 3 13:30:05 BST 2015
On Fri, Jul 3, 2015 at 2:14 PM, Stephen Taylor
<stephen.taylor at imm.ox.ac.uk> wrote:
> Hi,
Hi Stephen,
> I'd like to be able to dump out the metadata for each image using the Python API in OMERO. I can do something like :
>
> image = conn.getObject("Image", imageId)
> print image.getName(), image.getDescription()
>
> but is there a way of returning all the available metadata for that image that is stored in the database? i.e. not having to specify getXXXX for each property?
Are you looking to have it in a particular format? If not, print
image._obj should show you what's available.
~Josh.
> Thanks for any help,
> Steve
More information about the ome-users
mailing list