<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><base href="x-msg://219/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Steve,<div><br></div><div> I think you will find most of what you need in this example:</div><div><br></div><div><a href="https://github.com/openmicroscopy/openmicroscopy/blob/develop/examples/Training/python/Metadata.py">https://github.com/openmicroscopy/openmicroscopy/blob/develop/examples/Training/python/Metadata.py</a></div><div><br></div><div> Hope that helps,</div><div><br></div><div> Cheers,</div><div><br></div><div> Will.</div><div><br></div><div><br></div><div><br></div><div><br><div><div>On 3 Jul 2015, at 15:34, Stephen Taylor <<a href="mailto:stephen.taylor@imm.ox.ac.uk">stephen.taylor@imm.ox.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-GB" link="blue" vlink="purple" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">Hi Ola,<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"> </font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">I tried:<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"> </font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">dataset = conn.getObject("Dataset", datasetId)<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">print "\nDataset:%s" % datasetId<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">print "=" * 50<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">dataset = conn.getObject("Dataset", datasetId)<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">print "\nImages in Dataset:", dataset.getName()<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"> </font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; "># get all the images for that dataset<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">for image in dataset.listChildren():<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; "> instrument = image.getInstrument()<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; "> print "Microscope %s " % instrument.getMicroscope();<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"> </font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">All the images return "None" though in the UI we have<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"> </font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><span><image001.png></span></span><o:p></o:p></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"> </font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">Do I have to get “model” and “manufacturer” somehow?<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"> </font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">Thanks!<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"> </font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">Steve<o:p></o:p></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"> </font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">><span class="Apple-converted-space"> </span></span></font><span lang="EN-US">-----Original Message-----</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">><span class="Apple-converted-space"> </span></span></font><span lang="EN-US">From: ome-users [mailto:ome-<a href="mailto:users-bounces@lists.openmicroscopy.org.uk" style="color: purple; text-decoration: underline; ">users-bounces@lists.openmicroscopy.org.uk</a>]</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">><span class="Apple-converted-space"> </span></span></font><span lang="EN-US">On Behalf Of Aleksandra Tarkowska (Staff)</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">><span class="Apple-converted-space"> </span></span></font><span lang="EN-US">Sent: 03 July 2015 14:26</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">><span class="Apple-converted-space"> </span></span></font><span lang="EN-US">To: OME User Support List</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">><span class="Apple-converted-space"> </span></span></font><span lang="EN-US">Subject: Re: [ome-users] Dumping out metadata for each image id</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> Hi Steve</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> You can do it via loading instruments:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> instrument = conn.getObject("Image", imageid).getInstrument()</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> print instrument.__dict__</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> Or access directly</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> instrument.getMicroscope()</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> instrument.getObjectives()</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> instrument.getFilters()</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> instrument.getDichroics()</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> instrument.getDetectors()</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> instrument.getLightSources()</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> I hope that helps</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> Kind regards</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> Ola</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> On 03/07/2015 14:09, "Stephen Taylor" <<a href="mailto:stephen.taylor@imm.ox.ac.uk" style="color: purple; text-decoration: underline; "><font><span style="color: windowtext; text-decoration: none; ">stephen.taylor@imm.ox.ac.uk</span></font></a>></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> wrote:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Hi Josh,</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Thanks for your reply. I tried printing image._obj, it does contain some</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >data but it doesn't seem to contain all the data I was expecting, for</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >example:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Objective:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Model:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Manufacturer:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Nominal magnification:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Lens NA:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Immersion:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Correction:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Working distance:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Etc</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >How can I get access to these?</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Thanks,</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >Steve</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> -----Original Message-----</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> From: ome-users [<a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk" style="color: purple; text-decoration: underline; "><font><span style="color: windowtext; text-decoration: none; ">mailto:ome-users-</span></font></a></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; "><a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk" style="color: purple; text-decoration: underline; "><font><span style="color: windowtext; text-decoration: none; ">> bounces@lists.openmicroscopy.org.uk</span></font></a></span>]</font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> On Behalf Of Josh Moore</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> Sent: 03 July 2015 13:30</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> To: OME User Support List</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> Subject: Re: [ome-users] Dumping out metadata for each image id</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> On Fri, Jul 3, 2015 at 2:14 PM, Stephen Taylor</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> <<a href="mailto:stephen.taylor@imm.ox.ac.uk" style="color: purple; text-decoration: underline; "><font><span style="color: windowtext; text-decoration: none; ">stephen.taylor@imm.ox.ac.uk</span></font></a>> wrote:</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> > Hi,</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> Hi Stephen,</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> > I'd like to be able to dump out the metadata for each image using the</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> Python API in OMERO. I can do something like :</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> > image = conn.getObject("Image", imageId)</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> > print image.getName(), image.getDescription()</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> ></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> > but is there a way of returning all the available metadata for that</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >>image</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> that is stored in the database? i.e. not having to specify getXXXX for</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >>each</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> property?</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> Are you looking to have it in a particular format? If not, print</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> image._obj should show you what's available.</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> ~Josh.</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> > Thanks for any help,</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> > Steve</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> _______________________________________________</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >> ome-users mailing list</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >><span class="Apple-converted-space"> </span><a href="mailto:ome-users@lists.openmicroscopy.org.uk" style="color: purple; text-decoration: underline; "><font><span style="color: windowtext; text-decoration: none; ">ome-users@lists.openmicroscopy.org.uk</span></font></a></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >><span class="Apple-converted-space"> </span><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" style="color: purple; text-decoration: underline; "><font><span style="color: windowtext; text-decoration: none; ">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</span></font></a></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >_______________________________________________</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> >ome-users mailing list</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ><a href="mailto:ome-users@lists.openmicroscopy.org.uk" style="color: purple; text-decoration: underline; "><font><span style="color: windowtext; text-decoration: none; ">ome-users@lists.openmicroscopy.org.uk</span></font></a></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" style="color: purple; text-decoration: underline; "><font><span style="color: windowtext; text-decoration: none; ">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</span></font></a></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> The University of Dundee is a registered Scottish Charity, No: SC015096</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> _______________________________________________</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">> ome-users mailing list</span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">><span class="Apple-converted-space"> </span><a href="mailto:ome-users@lists.openmicroscopy.org.uk" style="color: purple; text-decoration: underline; "><font><span style="color: windowtext; text-decoration: none; ">ome-users@lists.openmicroscopy.org.uk</span></font></a></span></font></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><font size="2" face="Calibri"><span style="font-size: 11pt; ">><span class="Apple-converted-space"> </span><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" style="color: purple; text-decoration: underline; "><font><span style="color: windowtext; text-decoration: none; ">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</span></font></a></span></font></div></div>_______________________________________________<br>ome-users mailing list<br><a href="mailto:ome-users@lists.openmicroscopy.org.uk" style="color: purple; text-decoration: underline; ">ome-users@lists.openmicroscopy.org.uk</a><br><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" style="color: purple; text-decoration: underline; ">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br></div></blockquote></div><br></div></body></html>