Purpose of the test is to check the Download, Export and Downgrade features and the downloaded files - depending on whether archived image was created at import and whether this was an OMERO 5 import or OMERO 4 import.
Note: if several images have to be downloaded a zip will be created (Web and Insight) - this might take couple of seconds with no warning.
Import an image with a companion file e.g. data_repo/test_images_good/dv/CFPNEAT01_R3D.dv (or see column “Extra information” in [here])
Select the image, go to the right-hand panel, Acquisition tab, Companion files, and (Insight only) left-click on icon to the right of the filename to see a menu.
Import an image - tick the “Archive” option after putting it into the Queue [DownloadED009:] (Insight only)
When the import is finished, select the image
Go to the right-hand panel General tab,
Check that you see the image is shown as Archived in Insight [DownloadED010a:].
in Insight, press the Saving icon (2nd from right) and choose Download.[DownloadED010b:].
in Web click on the arrow in General tab [DownloadED011].
Download both into your home directory as well as to your Desktop.
Check that the image has correctly been downloaded [DownloadED012].
Re-import the image: import in Insight, but check in Web as well.
Check Compare the image originally imported and the re-imported image (check also the metadata) [DownloadED013].
Import an image composed of several files, e.g. test_images_good/lei/leica-original/050118.lei - tick the “Archive” option after putting it into the Queue [DownloadED009:] (Insight only).
Select the download option on the right-hand side.
Download the image - a zip will be created [DownloadED013b].
Download both into your home directory as well as to your Desktop.
Choosing images imported using OMERO 4 and skipping importing, go through
the “18.2 OMERO 4 Download/Export images:” step. The images have to have
been Archived during OMERO 4 import, look for example for Datasets like
archivedv.
Go through the “18.3 OMERO 5 Download/Export images” step.
for Web, just export and check the file - for Insight, see below
(Insight only) Check that when you select a single big image or select couple of images which consist of big and small images, the ExportasOME-TIFF option is greyed out
Export using the current schema:[DownloadED018:] (Insight only)
Check the exported file,
Check Open the file
Check the XML section the schema version should indicate the latest version e.g. 2012..[DownloadED019].-Do it from command line [tiffinfo command from libtiff library - download tiffinfo using Homebrew][DownloadED020]
Export using an older schema:(Insight only)
Check the exported file
Check Open the file
Check the XML section, the schema version should match the selected schema.[DownloadED021] - Check from command line using tiffinfo
Re-Import the exported files
(OME-TIFF only) Check that the re-import does not take longer than the import of the original file from which the ome-tiff was generated.
Go to the command line, cd to your downloaded server and connect to the testing server (e.g. gretzky). and try to download files using following commands.
bin/omerodownloadfile_idtarget
bin/omerodownloadOriginalFile:file_idtarget
bin/omerodownloadFileAnnotation:fa_idtarget
bin/omerodownloadImage:image_idtarget
Using these commands, download
Multi-image filesets (MIFs), for example lei
Archived pre-OMERO 5 images (look for example for Datasets like archivedv).
OMERO 5 imported images
Original files/Companion files (of for example .dv files)
File annotations
Check that the files are downloaded in the target file after each command.