<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head></head>
<body>
<div>Hello Aurelia and Johannes,</div>
<div><br></div>
<div>I modified the OMETiffHandler to use the new Units API of BioFormats, you can find the changes at https://github.com/skalarproduktraum/SPIMAcquisition/tree/OMEUnitFixes</div>
<div><br></div>
<div>Question to Johannes: Do you want a pull request for that? The issue I’m currently having is that it works just fine in Fiji with the MM update site, but not with the latest MM nightly, as it brings an older ome-xml version. Suggestions?</div>
<div><br></div>
<div>cheers,</div>
<div><br></div>
<div>ulrik</div>
<div><br></div>
<div><br></div>
<div class="unibox-signature">
<div style="color: rgb(54, 61, 76);">—
</div>
<div style="color: rgb(54, 61, 76);">
<div>Ulrik Günther, Dipl.-Phys.<br>PhD Student<br>MOSAIC Group & Tomancak Lab, Center of Systems Biology Dresden</div>
<div>Max Planck Institute of Molecular Cell Biology and Genetics<br>Pfotenhauerstr. 108, D-01307 Dresden, Germany</div>
</div>
<div style="color: rgb(54, 61, 76);"><br></div>
<div style="color: rgb(54, 61, 76);">E-Mail: guenther@mpi-cbg.de<br>
</div>
</div>
<div><br></div>
<blockquote type="cite" class="unibox-hidden">
<div>On Apr 17, 2015, at 10:10 PM, Johannes Schindelin <johannes.schindelin@gmx.de> wrote:</div>
<div><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">Hi Aurelia,</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">On 2015-04-17 16:56, Aurelia Honerkamp-Smith wrote:</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<blockquote style="orphans: auto; text-align: start; widows: auto;">
<div>java.lang.NoSuchMethodError:<br>loci.formats.meta.IMetadata.setPixelsPhysicalSizeX(Lome/xml/model/primitives/PositiveFloat;I)V</div>
<div><br></div>
</blockquote>
<div style="orphans: auto; text-align: start; widows: auto;"></div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">It would appear as if OMERO might have broken Bio-Formats'<span class="Apple-converted-space"> </span><br>backwards-compatibility once again... Exceptions like this one mean that<span class="Apple-converted-space"> </span><br>the method setPixelsPhysicalSizeX(PositiveFloat) was available at<span class="Apple-converted-space"> </span><br>compile time but is no longer available at runtime.</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">And indeed, it looks as if IMetadata by virtue of extending<span class="Apple-converted-space"> </span><br>ome.xml.meta.MetadataStore defines only the following<span class="Apple-converted-space"> </span><br>setPixelsPhysicalSizeX() method:</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">public abstract void setPixelsPhysicalSizeX(ome.units.quantity.Length,<span class="Apple-converted-space"> </span><br>int);</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">I fear that we will have to update the SPIMAcquisition plugin in a hurry<span class="Apple-converted-space"> </span><br>to conform with the new Bio-Formats version that was so overzealously<span class="Apple-converted-space"> </span><br>uploaded to the Fiji update site despite breaking backwards<span class="Apple-converted-space"> </span><br>compatibility in a rather blatant way.</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">My calendar is densely packed, though, so I have no idea when I will get<span class="Apple-converted-space"> </span><br>around to fix it (hint: help appreciated).</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">Ciao,<br>Johannes</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">_______________________________________________<br>OpenSPIM mailing list<br>OpenSPIM@openspim.org<br>http://openspim.org/mailman/listinfo/openspim</div>
<br class="Apple-interchange-newline">
</blockquote>
</body>
</html>