<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">As a follow-up comment,</div>
<div class=""><br class="">
</div>
<div class="">the acquisition date was always filled by Bio-Formats 5.0.x. As of Bio-Formats 5.1.x,</div>
<div class="">this field is now optional and only filled if it can be read from the metadata.</div>
<div class=""><br class="">
</div>
<div class="">For more information/technical details, see:</div>
<div class="">- the announcement of the 5.1.0-m1 milestone, notably the model changes section:</div>
<div class=""> <a href="https://www.openmicroscopy.org/community/viewtopic.php?f=6&t=7655&p=14837" class="">
https://www.openmicroscopy.org/community/viewtopic.php?f=6&t=7655&p=14837</a></div>
<div class="">- <a href="https://github.com/openmicroscopy/bioformats/pull/1235" class="">
https://github.com/openmicroscopy/bioformats/pull/1235</a> which allows null acquisition dates</div>
<div class="">- <a href="https://github.com/openmicroscopy/bioformats/pull/1264" class="">
https://github.com/openmicroscopy/bioformats/pull/1264</a> which implements some code for</div>
<div class=""> handling this new functionality in various utilities (command-line tools, ImageJ/Fiji plugin)</div>
<div class="">
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Sebastien</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 29 Apr 2015, at 10:28, Sebastien Besson <<a href="mailto:s.besson@dundee.ac.uk" class="">s.besson@dundee.ac.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Aaron,
<div class=""><br class="">
</div>
<div class="">Using Bio-Formats 5.1.1 and <a href="http://downloads.openmicroscopy.org/bio-formats/5.1.1/api/ome/xml/meta/MetadataRetrieve.html#getImageAcquisitionDate(int)" class="">getImageAcquisitionDate</a>, I can retrieve the Timestamp</div>
<div class="">for some sample images. Is your issue happening for a particular file format? If so would</div>
<div class="">it be possible to upload a sample file at <a href="https://www.openmicroscopy.org/qa2/qa/upload/?" class="">https://www.openmicroscopy.org/qa2/qa/upload/?</a></div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Sebastien</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 29 Apr 2015, at 08:55, Ponti Aaron <<a href="mailto:aaron.ponti@bsse.ethz.ch" class="">aaron.ponti@bsse.ethz.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)" class="">
<style class=""><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1891187743;
mso-list-template-ids:1222797264;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div lang="EN-US" link="blue" vlink="purple" class="">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p class=""></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
the method <span style="font-family:"Courier New"" class="">ome.xml.meta.OMEXMLMetadataImpl.</span><strong class=""><span style="font-family:"Courier New";background:white" class=""><a href="https://ci.openmicroscopy.org/view/5.0/job/BIOFORMATS-5.0-latest/javadoc/ome/xml/meta/OMEXMLMetadataImpl.html#getImageAcquisitionDate(int)" class=""><span style="color:windowtext;font-weight:normal;text-decoration:none" class="">getImageAcquisitionDate</span></a></span></strong><code class=""><span style="background:white" class="">(int imageIndex)</span></code><span style="background:white" class=""> seems
to be always returning null in bioformats 5.1.1. The same call on the same files with 5.0.8 returns a valid timestamp.<o:p class=""></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="background:white" class="">a2<o:p class=""></o:p></span></p>
<p class="MsoNormal">----<o:p class=""></o:p></p>
<p class="MsoNormal">Dr. Aaron Ponti<o:p class=""></o:p></p>
<p class="MsoNormal">Software and Data Management Engineer<o:p class=""></o:p></p>
<p class="MsoNormal">Single Cell Unit<o:p class=""></o:p></p>
<p class="MsoNormal">Department of Biosystems Science and Engineering (D-BSSE)<o:p class=""></o:p></p>
<p class="MsoNormal"><span lang="DE-CH" class="">ETH Zürich<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" class="">Office 2.24<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" class="">Mattenstrasse 26<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" class="">4058 Basel, Switzerland<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" class=""><a href="mailto:aaron.ponti@bsse.ethz.ch" class="">aaron.ponti@bsse.ethz.ch</a><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" class="">+41 61 387 33 74<o:p class=""></o:p></span></p>
<div class=""><span lang="DE-CH" class=""> </span><br class="webkit-block-placeholder">
</div>
</div>
</div>
_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" class="">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>