Serious problem with OMERO's DropBox
Posted: Wed Dec 17, 2014 1:54 pm
Hi,
after a user complained to me about her images being declared as corrupt after download from the OMERO server via OMERO.web, I found a serious issue regarding the everyday lab workflow involving the DropBox: Apparently, many users stick to the following routine:
1) Take some images
2) "Save As" (e.g.) to create a LIF file on the DropBox folder (mounted via CIFS)
3) Meanwhile, the LIF file gets uploaded to OMERO
4) Take some more images into the same container
5) "Save" the LIF file again
6) The OMERO server detects a change in the size of the LIF file and re-uploads it under the same name. The first X images are now doubled)
7) The user repeats steps 4) to 6) an arbitrary amount of times and ends up with a confusing looking set of images.
To resolve this problem, OMERO could detect if the image that has just been saved is only an update to a previous version (i.e. the first images are absolutely identical) and only add the differences. This might probably be hard to implement, especially since the original RAW image file would have to be discarded, too, with every update.
An alternative would be to educate our users that they should only save or copy the absolute LAST version of their experiment onto the DropBox folder for upload, but they will probably not easily understand why this is necessary and therefore continue making these mistakes.
There is also the issue why some of the "intermediate" LIF files one of our users downloaded for analysis in the LASAF software were reported as corrupt. I will look into this in more detail, I have the suspicion that the DropBox thread uploaded only parts of those files in some cases (i.e. it left out the last few bytes.)
Cheers,
Tristan
after a user complained to me about her images being declared as corrupt after download from the OMERO server via OMERO.web, I found a serious issue regarding the everyday lab workflow involving the DropBox: Apparently, many users stick to the following routine:
1) Take some images
2) "Save As" (e.g.) to create a LIF file on the DropBox folder (mounted via CIFS)
3) Meanwhile, the LIF file gets uploaded to OMERO
4) Take some more images into the same container
5) "Save" the LIF file again
6) The OMERO server detects a change in the size of the LIF file and re-uploads it under the same name. The first X images are now doubled)
7) The user repeats steps 4) to 6) an arbitrary amount of times and ends up with a confusing looking set of images.
To resolve this problem, OMERO could detect if the image that has just been saved is only an update to a previous version (i.e. the first images are absolutely identical) and only add the differences. This might probably be hard to implement, especially since the original RAW image file would have to be discarded, too, with every update.
An alternative would be to educate our users that they should only save or copy the absolute LAST version of their experiment onto the DropBox folder for upload, but they will probably not easily understand why this is necessary and therefore continue making these mistakes.
There is also the issue why some of the "intermediate" LIF files one of our users downloaded for analysis in the LASAF software were reported as corrupt. I will look into this in more detail, I have the suspicion that the DropBox thread uploaded only parts of those files in some cases (i.e. it left out the last few bytes.)
Cheers,
Tristan