<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi Kai</div>
<div><br>
</div>
<div><br>
</div>
<div>All the scripts are now available at <a href="https://github.com/ome/training-scripts">https://github.com/ome/training-scripts</a></div>
<div><br>
</div>
<div>I did a bit of digging and it seems that the option specifyRanges=true is taken into account only when windowless=false</div>
<div>In that case the values in the range dialog are read.</div>
<div><br>
</div>
<div>We have written a new version of the script you mentioned</div>
<div>The new version does not use the BF-importer plugin</div>
<div><a href="https://github.com/ome/training-scripts/blob/master/practical/jython/analyse_particles_from_dataset.jy">https://github.com/ome/training-scripts/blob/master/practical/jython/analyse_particles_from_dataset.jy</a></div>
<div>This should hopefully allow you to only retrieve the planes you want</div>
<div><br>
</div>
<div>Cheers</div>
<div>Jmarie</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>ome-users <<a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk">ome-users-bounces@lists.openmicroscopy.org.uk</a>> on behalf of Kai Schleicher <<a href="mailto:kai.schleicher@unibas.ch">kai.schleicher@unibas.ch</a>><br>
<span style="font-weight:bold">Reply-To: </span>OME User Support List <<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, 17 May 2018 at 18:11<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>" <<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>><br>
<span style="font-weight:bold">Subject: </span>[ome-users] syntax for scripting the windowless importer in Jython<br>
</div>
<div><br>
</div>
<div>
<div text="#000000" bgcolor="#FFFFFF">
<p>Dear OME-team,</p>
<p>To script the windowless BF-importer in Jython I am building on the cool <a moz-do-not-send="true" href="https://github.com/bramalingam/Omero-Imagej-Scripts/blob/master/omero_batch_analysis.py">
script by Balaji</a>.</p>
<p>I specifically wish to limit the import to the first time-point of my datasets, but I am struggling at getting the syntax right.</p>
<p>In IJ1-macro language it works like this:<br>
</p>
<p></p>
<blockquote type="cite">run("Bio-Formats Importer", "open=V:/small5Dstack.tif specify_range t_begin=1 t_end=1 t_step=1");</blockquote>
In the jython script I tried to add a line 53:<br>
<p></p>
<p></p>
<blockquote type="cite">options += " specifyranges=true tbegin=1 tend=1 tstep=1 "</blockquote>
But it still loads the entire dataset.<br>
I tried a few other strings without luck and was wondering if you could maybe just point me to the proper way of doing it.
<p></p>
<p>Thanks and see you soon at the meeting,<br>
Kai</p>
<pre class="moz-signature" cols="72">--
>>Please note my NEW PHONE NUMBERS: +41 61 207 57 31 (direct) +41 61 207 22 50 (central)<<
Kai Schleicher, PhD | Research Associate in Advanced Light Microscopy | Biozentrum, University of Basel | Klingelbergstrasse 50/70 | CH-4056 Basel |
Phone: +41 61 207 57 31 (direct) +41 61 207 22 50 (central) | <a class="moz-txt-link-abbreviated" href="mailto:kai.schleicher@unibas.ch">kai.schleicher@unibas.ch</a> | <a class="moz-txt-link-abbreviated" href="http://www.biozentrum.unibas.ch">www.biozentrum.unibas.ch</a> | <a class="moz-txt-link-abbreviated" href="http://www.microscopynetwork.unibas.ch">www.microscopynetwork.unibas.ch</a></pre>
</div>
</div>
</span><br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>