<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Hi Brian,</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On 1 Jun 2019, at 01:03, Brian Bodensteiner <<a href="mailto:brian@intelligent-imaging.com" class="">brian@intelligent-imaging.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi,
<div class=""><br class="">
</div>
<div class="">We’re working with some of our users to improve SlideBook file import for OMERO but could use some help.
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>From our side, several community users have been increasingly asking for the ability to load Slidebook data using the native 3i reader in OMERO. So we are very happy to hear that work has started on this front.</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">First, we tested using stock OMERO.insight 5.4.10. Importing the .SLD files results in the following error (as the default importer does not handle new data):</div>
<div class=""><br class="">
</div>
<div class="">2019-05-31 16:53:17,563 DEBUG [ org.scijava.nativelib.NativeLibraryUtil] (entQueue-0) processor is INTEL_64 os.arch is amd64 <br class="">
<snip><br class="">
<div class="">2019-05-31 16:53:24,604 INFO [ ome.formats.importer.ImportCandidates] ( Thread-14) 1 file(s) parsed into 0 group(s) with 1 call(s) to setId in 387ms. (393ms total) [0 unknowns] <br class="">
</div>
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>That’s also what I expect if the 3i Slidebook reader is not available client-side.</div>
<br class="">
<blockquote type="cite" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">
<div class="">Next, we copied the SlideBook6Reader.jar into the lib folder. This is picked up and executed, and the metadata is read correctly. However, no pixel data is read, and I get the following exception:</div>
<div class=""><br class="">
</div>
<div class="">2019-05-31 16:55:13,347 WARN [ o.o.s.a.m.editor.AnnotationTaskPane] (nitializer) UI for displaying ROIS annotations not implemented yet! <br class="">
<snip><br class="">
serverExceptionClass = "ome.conditions.InternalException"<br class="">
message = " Wrapped Exception: (java.lang.AssertionError):<br class="">
File not open.”</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>This indicates some error happened server side probably while processing the file during the import steps although the error is somehow wrapped.</div>
<div>I suppose you have access to the test server? The Blitz log file should be more informative about the specific API calls that led to the exception.</div>
<br class="">
<blockquote type="cite" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">I’ve tested the same jars in Fiji and they are working fine, so I am guessing there is something different going on in terms of file open/close flow. I can’t find the source of the "File not open.” error message - it is the cas that in order to
read pixel data the file must be parsed and read, but I’d also presume this happens when the metadata is read.</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>There are a few import post-processing steps happening server-side which require file access:</div>
<div><br class="">
</div>
<div>- metadata access when populating the database with the new inserts</div>
<div>- pixel data access while reading the minimum/maximum intensities and/or creating thumbnails</div>
<div><br class="">
</div>
<div>I suspect one of these steps is leading to the "File not open" exception. Hopefully the server logs will provide more information.</div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">We have some specific exceptions thrown when a file is closed and then attempted to be read, so it would help to understand where that message is coming from. We also updated the jar on the server as well, though it’s unclear if that’s required
or not (is pixel data stored directly or accessed on the server).</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Since OMERO 5.0, the raw image files are directly accessed on the server using Bio-Formats. As such, adding the reader as a JAR to the server folder is definitely a prerequisite.</div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Anyway any direction you could provide would be much appreciated. This feels like the right direction - similar to Fiji dropping the library into the Bio-Formats installation immediately moves things to the SlideBook6Reader.jar.</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Agreed. Please let us know as you get more details from the logs.</div>
<div><br class="">
</div>
<div>Best,</div>
<div>Sebastien</div>
<br class="">
<blockquote type="cite" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Thanks again for your help,</div>
<div class=""><br class="">
</div>
<div class="">Brian</div>
<br class="">
<div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">
<div class="">
<div style="font-family: Optima; orphans: 2; widows: 2; color: rgb(94, 94, 94);" class="">
<span class="Apple-style-span" style="font-size: 13px;">Brian Bodensteiner</span></div>
<div style="font-family: Optima; orphans: 2; widows: 2; color: rgb(94, 94, 94);" class="">
Vice President Engineering</div>
<div style="font-family: Optima; orphans: 2; widows: 2; color: rgb(94, 94, 94);" class="">
<font color="#005493" style="font-size: 13px;" class=""><br class="">
</font></div>
<div style="font-family: Optima; orphans: 2; widows: 2; color: rgb(94, 94, 94);" class="">
<font color="#005493" size="4" class="">Intelligent Imaging Innovations (3i)</font></div>
<div style="font-family: Optima; orphans: 2; widows: 2;" class=""><font color="#005493" class="">3509 Ringsby Court</font></div>
<div style="font-family: Optima; orphans: 2; widows: 2;" class=""><font color="#005493" class="">Denver, CO 80216 USA</font></div>
<div style="orphans: 2; widows: 2;" class=""><font color="#005493" face="Optima" class="">1-424-744-5941</font></div>
<div style="orphans: 2; widows: 2;" class=""><span style="font-family: Optima; color: rgb(0, 84, 147);" class=""><a href="http://www.intelligent-imaging.com/" class="">www.intelligent-imaging.com</a></span></div>
</div>
<div class=""><br class="">
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
_______________________________________________<br class="">
ome-devel mailing list<br class="">
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk" class="">ome-devel@lists.openmicroscopy.org.uk</a><br class="">
https://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel<br class="">
</blockquote>
</div>
<br class="">
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>