<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="">
HI Etienne,
<div class=""><br class="">
</div>
<div class="">
<div>On 29 May 2018, at 17:45, Etienne Dumoulin <<a href="mailto:etienne@phenomic.ai" class="">etienne@phenomic.ai</a>> wrote:<br class="">
<blockquote type="cite" class=""><br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Hi Omero developers,</div>
<div class=""><br class="">
</div>
</div>
</div>
</blockquote>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">I have just started using the OMERO platform and I have a couple of separate questions. I will send them in two different emails, I hope you don't mind.<br class="">
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>No worries at all. Splitting unrelated topics using different threads makes complete sense.</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">I have just customized an import. My new import loads a screen (a set of plates) using "omero import" command line tool on a directory (I think it is the only way to do it in Python) and adds annotations on the wells, plates and screen. It is
 working quite nicely, however I am not too sure how to create my integration tests. All the plate directories I have are several gigabytes big and I don't know how to create my own XML metadata file for a plate. All my attempts create orphaned images at the
 import. Ideally, I would like to be able to load a mini-plate successfully in a few seconds, a minute top.</div>
</div>
</div>
</blockquote>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">What would you do in my situation? </div>
</div>
</div>
</blockquote>
<br class="">
<div>
<div>For integration testing, your requirements make complete sense. You might want to</div>
<div>use Bio-Formats test images [1] which have support for HCS layout e.g. </div>
<div><br class="">
</div>
<div>$ touch “test&screens=1.fake"</div>
<div>$ bin/omero import "test&screens=1.fake”</div>
<div><br class="">
</div>
<div>The OMERO integration tests are making heave use of this functionality for importing</div>
<div>images without the need for real data - see for instance the CLI import integration tests [2].</div>
<div><br class="">
</div>
</div>
<div>[1] <a href="https://docs.openmicroscopy.org/bio-formats/5.8.2/developers/generating-test-images.html" class="">https://docs.openmicroscopy.org/bio-formats/5.8.2/developers/generating-test-images.html</a> </div>
<div>
<div>[2] <font color="#0069d9" class=""><u class=""><a href="https://github.com/openmicroscopy/openmicroscopy/blob/v5.4.6/components/tools/OmeroPy/test/integration/clitest/test_import.py#L1042" class="">https://github.com/openmicroscopy/openmicroscopy/blob/v5.4.6/components/tools/OmeroPy/test/integration/clitest/test_import.py#L1042</a></u></font></div>
<div class=""><br class="">
</div>
</div>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">Thanks,</div>
<div class=""><br class="">
</div>
<div class="">Etienne<br class="">
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
Hope this helps,</div>
<div>Sébastien</div>
<div><br class="">
</div>
<div>NB: the OME team is holding its annual Users Meeting for the next three days. Please bare with us</div>
<div>as we might come back to the two other threads you started as late as next Monday. </div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">-- <br class="">
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">Etienne Dumoulin</div>
<div class="">PhenomicAI</div>
<div class="">Lead software engineer</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</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="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel<br class="">
</div>
</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>