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]

  1. Find the DropBox folder in your /omero folder e.g. Petr/var/omero/DropBox.

  2. Open it and create a new folder with a name matching the user ID which you are going to import images for (<somename>)

  3. Open Terminal (command line)

  4. Get a DropBox.log file 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.log to see the log output.

  5. 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).

  6. Observe the log info in your command line

    • Check the file has been registered by DropBox [001] and immediately

  7. Drag and Drop a companion file to the DV file you put in in step 5 (e.g. IAGFP-Noc01_R3D.dv.log)

    • Check the companion file has been registered by DropBox [001]

    • Check that the import starts within ~60 sec (if you do not interrupt it by another file addition into DropBox) [001]

    • Check that the files have been correctly imported (using Insight UI)

  8. 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)

  9. 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)

  10. 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)

  11. 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)

  12. 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.importArgs variable in your local server to:

    • --transfer=ln_rm

    • --transfer=ln_s

    • --transfer=ln

      and restart the server after each change to finalize the reset.

  13. 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 (ln and ln_s options) or are deleted from it (ln_rm option)