<div dir="ltr">Hi guys,<div><br></div><div>Re: mount point. Yes, Smuggler actually supports it already:</div><div><br></div><div>* <a href="https://github.com/c0c0n3/omero-ms-queue/blob/master/components/server/src/main/java/ome/smuggler/core/service/file/RemotePathResolver.java">https://github.com/c0c0n3/omero-ms-queue/blob/master/components/server/src/main/java/ome/smuggler/core/service/file/RemotePathResolver.java</a></div><div><br></div><div>Re: adding <span style="font-size:12.8px">--transfer=ln or --transfer=ln_s to </span><span style="font-size:12.8px">the command. Yes, the easiest way I can think of is to hard-code it just for testing. This is the file to hack:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">* <a href="https://github.com/c0c0n3/omero-ms-queue/blob/master/components/server/src/main/java/ome/smuggler/core/service/omero/impl/ImporterCommandBuilder.java">https://github.com/c0c0n3/omero-ms-queue/blob/master/components/server/src/main/java/ome/smuggler/core/service/omero/impl/ImporterCommandBuilder.java</a></span></div><div><br></div><div>In principle, you could just add an application argument here:</div><div><br></div><div>* <a href="https://github.com/c0c0n3/omero-ms-queue/blob/master/components/server/src/main/java/ome/smuggler/core/service/omero/impl/ImporterCommandBuilder.java#L99">https://github.com/c0c0n3/omero-ms-queue/blob/master/components/server/src/main/java/ome/smuggler/core/service/omero/impl/ImporterCommandBuilder.java#L99</a></div><div><br></div><div>e.g.</div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">    .addApplicationArgument(arg("--transfer=ln</font><span style="font-family:monospace,monospace">"));</span></div><div><span style="font-family:monospace,monospace"><br></span></div><div><font face="arial, helvetica, sans-serif">Then like I said your users could just use our modified version of OMERO.Insight as an import GUI. Note that the Smuggler sever process will have to be given the right permissions to write to the OMERO repo as documented here</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><span style="font-size:12.8px">* </span><a href="https://docs.openmicroscopy.org/omero/5.4.1/sysadmins/in-place-import.html" target="_blank" style="font-size:12.8px">https://docs.openmicroscopy.<wbr>org/omero/5.4.1/sysadmins/in-<wbr>place-import.html</a><font face="arial, helvetica, sans-serif"><br></font></div><div><br></div><div>Let me know if you decide to go down this road so I can give you more details about it.</div><div><br></div><div>Cheers</div><div><br></div><div>/a</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 December 2017 at 16:14, Julio MATEOS_LANGERAK <span dir="ltr"><<a href="mailto:julio.mateos-langerak@igh.cnrs.fr" target="_blank">julio.mateos-langerak@igh.cnrs.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi,
<div><br>
</div>
<div>
<div><div><div class="h5">
<blockquote type="cite">
<div>On 7 Dec 2017, at 15:24, Josh Moore <<a href="mailto:josh@glencoesoftware.com" target="_blank">josh@glencoesoftware.com</a>> wrote:</div>
<br class="m_2497903535410105684Apple-interchange-newline">
<div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Hi
 both,</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">On
 Wed, Dec 6, 2017 at 3:20 PM, Andrea Falconi <</span><a href="mailto:andrea.falconi@gmail.com" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">andrea.falconi@gmail.com</a><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">>
 wrote:</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Hello Olaf,<br>
<br>
In a nutshell, I don't think there's an out-of-the box solution that would<br>
be a good fit for your use case---I obviously stand to be corrected.<br>
</blockquote>
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">I
 agree. I think there are workarounds that may solve part of your</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">issues
 or the beginnings of solutions, but we won't have a full</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">solution
 until later in 2018 at the earliest.</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
But if<br>
you're willing to roll up your sleeves and write some code you could try one<br>
of the approaches below.<br>
<br>
<blockquote type="cite">is there any existing solution that allows batch import and/or GUI-based<br>
import with „in-place“ import?<br>
</blockquote>
Not that I'm aware of. But I think it shouldn't be too difficult to put<br>
together a front-end web page that collects import input and then spawns a<br>
process to run the CLI to do an in-place import as documented here:<br>
<br>
* <a href="https://docs.openmicroscopy.org/omero/5.4.1/sysadmins/in-place-import.html" target="_blank">
https://docs.openmicroscopy.<wbr>org/omero/5.4.1/sysadmins/in-<wbr>place-import.html</a><br>
<br>
Note that you'll need to set up a suitable environment for this to<br>
happen---read the instructions carefully ;-)<br>
<br>
<blockquote type="cite">Does Smuggler do „in-place“ import too<br>
</blockquote>
Not at the moment, but it could be implemented relatively easily---I welcome<br>
contributions :-)<br>
As an added benefit, you could then use this modified version OMERO.Insight:<br>
<br>
* <a href="https://github.com/MontpellierRessourcesImagerie/openmicroscopy/releases" target="_blank">
https://github.com/<wbr>MontpellierRessourcesImagerie/<wbr>openmicroscopy/releases</a><br>
<br>
which uses Smuggler's REST API to do offline imports. This is the version<br>
we're currently using at the CNRS in Montpellier to let our users import<br>
files into OMERO.<br>
Like I said both approaches involve writing some code. If you want to do<br>
that I'll gladly help you out in whichever way I can.<br>
</blockquote>
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Andrea,
 if there's an easy way to add in-place import (which is</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">essentially
 adding the argument --transfer=ln or --transfer=ln_s to</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">the
 command), then this might be something Olaf would like to test.</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
</div>
</blockquote>
<div><br>
</div>
</div></div><div>Could the modified insight (or smuggler for that matter) have a configuration option that maps the the local mount point to the mount point seen by OMERO?</div><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>Julio</div></font></span><div><div class="h5">
<div><br>
</div>
<blockquote type="cite">
<div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
On 6 December 2017 at 14:06, <<a href="mailto:microscopy@olafselchow.de" target="_blank">microscopy@olafselchow.de</a>> wrote:<br>
</blockquote>
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">...</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite"><br>
Now: is there any existing solution that allows batch import and/or<br>
GUI-based import with „in-place“ import? Command-line operation is not<br>
acceptable by the user.<br>
Does Smuggler do „in-place“ import too? (couldn’t find any comment on this<br>
on the smuggler description page)<br>
Anyone out there who has built something on Atom<br>
(<a href="https://www.medfloss.org/node/695" target="_blank">https://www.medfloss.org/<wbr>node/695</a>)<br>
</blockquote>
</blockquote>
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">As
 far as I know, Atom is unsupported. Happy to be told otherwise.</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite">to make it work with OMERO 5.x and extend to „in-place“?<br>
<br>
As a starting point, I would like to get an overview on what is already<br>
available. (—> Is<br>
<a href="https://www.openmicroscopy.org/omero/import/" target="_blank">https://www.openmicroscopy.<wbr>org/omero/import/</a><br>
a comprehensive list?)<br>
</blockquote>
</blockquote>
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">More
 or less. There is some distributed info (email thread and forum</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">posts)
 about coming up with a cron-like strategy. If this is something</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">you'd
 like to pursue, let us know.</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite">Thanks a lot!<br>
Olaf<br>
</blockquote>
</blockquote>
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">~Josh</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">______________________________<wbr>_________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">ome-users
 mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">ome-users@lists.<wbr>openmicroscopy.org.uk</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://lists.openmicroscopy.<wbr>org.uk/mailman/listinfo/ome-<wbr>users</a></div>
</blockquote>
</div></div></div>
<br>
</div>
</div>

<br>______________________________<wbr>_________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.<wbr>openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.<wbr>org.uk/mailman/listinfo/ome-<wbr>users</a><br>
<br></blockquote></div><br></div>