25. Import DropBox
To test in: Command line interface/DropBox/Insight
Purpose of the test is to check the import using DropBox
Prerequisites: local server - user creates a folder DropBox/username in local binary repository.
Note: For moving the scenario forward a remote server: a DropBox/username folder exists that the user has write access to will be implemented.
Note: images are not imported into a dataset so the images will be orphaned.
Find suitable images here [TestingSet] or here [TestingTemplate]
Find the DropBox folder in your
/omerofolder e.g.Petr/var/omero/DropBox.Open it and create a new folder with a name matching the user ID which you are going to import images for (<somename>)
Open Terminal (command line)
Get a
DropBox.logfile output. Get into your home directory (e.g. petr), then into/Work/openmicroscopy/folder and then use a line like:tail -f dist/var/log/DropBox.logto see the log output.Drag and Drop an image file which has a companion file (e.g.
IAGFP-Noc01_R3D.dv) into the DropBox subfolder you created in step 2 (e.g.Petr/var/omero/DropBox/petr).Observe the log info in your command line
Check the file has been registered by DropBox [
001] and immediately
Drag and Drop a companion file to the DV file you put in in step 5 (e.g.
IAGFP-Noc01_R3D.dv.log)Drag and Drop an image without companion file into the DropBox subfolder you created in step 2 (e.g.
Petr/var/omero/DropBox/petr)Wait at least ~60sec - watch the progress of the import in the log
Check they are all imported (using Insight UI)
Drag and Drop a folder containing several images/companion files into the DropBox subfolder you created in step 2 (e.g.
Petr/var/omero/DropBox/petr)Wait at least ~60sec - watch the progress of the import in the log
Check they are all imported (using Insight UI)
Drag and Drop a nested folder containing Screen/Plate/Well files into the DropBox subfolder you created in step 2 (e.g.
Petr/var/omero/DropBox/petr)Wait at least ~60sec - watch the progress of the import in the log
Check they are all imported (using Insight UI)
Select a folder with a multi-images file (like
test_images_good/lei), drag and drop it into the DropBox subfolder you created in step 2 (e.g.Petr/var/omero/DropBox/petr)Wait at least ~60sec - watch the progress of the import in the log
Check they are all imported (using Insight UI)
Inplace import via DropBox. To understand better, read https://docs.openmicroscopy.org/omero/latest/sysadmins/in-place-import.html#dropbox. Set the
bin/omero config set -- omero.fs.importArgsvariable in your local server to:--transfer=ln_rm--transfer=ln_s--transfer=lnand restart the server after each change to finalize the reset.
Import a plate/image via DropBox after each of the 3 resets (and server restarts) above.
Check that the plate/image has been imported successfully and the files stay in the DropBox folder (
lnandln_soptions) or are deleted from it (ln_rmoption)