<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Martin,<div><br></div><div> I think what we will do for now is what I described below (for LSMs) which should fix most of your issues. E.g. If you select all (or one or more) of the LSM files within a directory, with or without an mdb present, then we import just those LSMs (ignore the mdb and any other LSMs it references). </div><div>Ticket for this is <a href="http://trac.openmicroscopy.org.uk/omero/ticket/3701">http://trac.openmicroscopy.org.uk/omero/ticket/3701</a></div><div><br></div><div>For handling situations where you select the mdb AND a lsm contained within it, this would require a bit more work to remove duplicates. We probably won't do this unless people tell us it's a common problem. </div><div>And to fix the same situation for SP2 format is even more tricky (when you select a tiff AND the lei container). </div><div>However, in both these situations where you choose to import everything in the directory (select the directory itself for import) we do parse all the files to make sure that we don't import duplicates etc. </div><div><br></div><div>A message for every file type is a bit of an overkill, since only a handful of formats (out of more than 100 that we support) have multiple images per file. </div><div>We might consider a pop-up for explicitly choosing images (in the style of the ImageJ LOCI importer) if we continue to have these problems, but hopefully we can fix them by simply changing the behavior to make it more predictable. </div><div><br></div><div> Cheers,</div><div><br></div><div> Will. </div><div><br></div><div><br></div><div><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Martin Spitaler <<a href="mailto:m.spitaler@imperial.ac.uk">m.spitaler@imperial.ac.uk</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">14 December 2010 10:25:40 GMT</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Will Moore <<a href="mailto:will@lifesci.dundee.ac.uk">will@lifesci.dundee.ac.uk</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>Re: [ome-users] import of single Zeiss LSM files</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </div> <div text="#000000" bgcolor="#ffffff"> Hi,<br> <br> funny how different people's thoughts are, that's why it's good to have these discussions.<br> <br> My personal logic is clear: If I add one or two LSM files to the queue, I want those one or two LSM files imported, otherwise I would select all files.<br> <br> Talking about selecting all files: Have you noticed that at the moment that multiplies the files? When a user wants to import Zeiss LSM files, goes to the folder with the files and selects them all, because s/he wants to import them all, the importer starts with the MDB database and imports all LSM files, then goes to the first LSM files and again imports all LSM files and so on, which produces as many versions of each file as there are files in the folder. <br> <br> So in my opinion the best solution is to import whatever is in the queue, irrespective of what's in the MDB. I understand that this can produce confusion when both MDB and LSMs are selected. You would either need to automatically check whether a file has already been imported in the queue, or ignore the MDB and require the user to select the LSM.<br> <br> Of course that's even more complicated with the old Leica SP2 format (and maybe others?) where each frame is saved as a separate TIF, in the Zeiss format at least all frames belonging to one series are in one LSM files.<br> <br> My idea for a quick fix: When selecting the format in the pull-down menu below the folder tree of the IMPORTER, show a little explanatory text specific for that file type.<br> <br> My idea for a long-term solution, completely unambiguous and user friendly: When importing these file types, pop up a window with tick boxes for all files contained in the MDB, and SELECT ALL and DESELECT ALL buttons. Actually exactly how the ImageJ Loci Importer works, that's perfect.<br> <br> Best,<br> <br> Martin<br> <br> On 14/12/2010 03:05, Will Moore wrote: <blockquote cite="mid:E98B988B-60D4-4C87-86A7-C2D8B34FA0CC@lifesci.dundee.ac.uk" type="cite">Hi Martin, <div><br> </div> <div> I discussed this with Melissa today and we thought of a possible solution.</div> <div>- If mdb is present, and you choose the mdb file, then import all the images in the file</div> <div>- If you choose an LSM file, only import the LSM itself, even if the mdb is present and includes other LSMs. </div> <div><br> </div> <div>The only caveat of this approach is that it might confuse users who are expecting all the LSMs from an mdb to be imported - even when selecting a single image. </div> <div>But I think most users could get used to the proposed change in behavior pretty easily. </div> <div><br> </div> <div>What do you think? </div> <div><br> </div> <div> Cheers,</div> <div><br> </div> <div> Will. </div> <div><br> </div> <div><br> </div> <div> <div> <div>On 13 Dec 2010, at 18:36, Martin Spitaler wrote:</div> <br class="Apple-interchange-newline"> <blockquote type="cite"> <div bgcolor="#ffffff" text="#000000"> I have noticed that IMPORTER does not allow to import single LSM files: When I add a single LSM file to the queue, it correctly lists that file in the queue, but upon IMPORT it looks up the connected *.MDB database and uploads all images in that database. While that might not be problem usually, occasionally it is useful to be able to select specific files, especially if the whole collection of files is very large,<br> <br> Martin<br> <div class="moz-signature">-- <br> <span style="font-family: "Century Gothic"; font-size: 90%;"> <hr width="40%" align="left" color="navy" size="2"> <b>Martin Spitaler, PhD</b><p> <b><span style="font-family: "Century Gothic"; font-size: 200%; color: navy;">FILM</span> <span style="font-family: "Century Gothic"; font-size: 90%;"> - Facility for Imaging by Light Microscopy</span></b><br> <span style="font-family: "Century Gothic"; font-size: 90%;"> - Facility Manager -<br> Sir Alexander Fleming Building, desk 401<br> Imperial College London / South Kensington<br> Exhibition Road<br> London SW7 2AZ<br> UK </span></p><p> Tel. +44-(0)20-759-42023<br> E-mail <a moz-do-not-send="true" href="mailto:m.spitaler@imperial.ac.uk">m.spitaler@imperial.ac.uk</a><br> Website: <a moz-do-not-send="true" href="http://imperial.ac.uk/imagingfacility">http://imperial.ac.uk/imagingfacility</a> </p> </span> <div><br class="webkit-block-placeholder"> </div> </div> </div> _______________________________________________<br> ome-users mailing list<br> <a moz-do-not-send="true" href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br> <a class="moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br> </blockquote> </div> <br> <div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> <div style="word-wrap: break-word;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> <div style="word-wrap: break-word;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"> <div style="word-wrap: break-word;"> <div> <div>William Moore</div> <div> <div>Wellcome Trust Centre for Gene Regulation & Expression</div> <div>College of Life Sciences</div> <div>MSI/WTB/JBC Complex</div> <div>University of Dundee</div> <div>Dow Street</div> <div>Dundee DD1 5EH</div> <div>United Kingdom</div> <div><br> </div> <div>Phone 01382 386364</div> </div> <div><a moz-do-not-send="true" href="http://openmicroscopy.org.uk">http://openmicroscopy.org.uk</a></div> </div> </div> </span><br class="Apple-interchange-newline"> </div> </span><br class="Apple-interchange-newline"> </div> </span><br class="Apple-interchange-newline"> </div> <br> </div> </blockquote> </div> </blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>William Moore</div><div><div>Wellcome Trust Centre for Gene Regulation & Expression</div><div>College of Life Sciences</div><div>MSI/WTB/JBC Complex</div><div>University of Dundee</div><div>Dow Street</div><div>Dundee DD1 5EH</div><div>United Kingdom</div><div><br></div><div>Phone 01382 386364</div></div><div><a href="http://openmicroscopy.org">http://openmicroscopy.org</a></div></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>