Page 1 of 1

[Solved] DropBox : zip imported files

PostPosted: Mon Dec 05, 2011 3:31 pm
by ppouchin
Good afternoon,

I love the DropBox feature which allows my users to easily import their images into OMERO (through Samba) and allows them to keep their original files outside of OMERO (just in case). But this method needs a lot of space...
So I was wondering... Since archived files are not meant to be accessed frequently and compressing saves disk space at the cost of access time, would it be possible to compress the original files without having the DropBox re-index them ?
I tried tar, zip and bzip2 (which replaces the file) but each time OMERO imports the file after compression...

Could I prevent it from indexing some extensions or do I need to manually define all the accepted extensions ?

Re: DropBox : zip imported files

PostPosted: Tue Dec 06, 2011 7:51 am
by jmoore
There is by default a ZipReader activated in readers.txt, the file which lists all the file formats supported by Bio-Formats:

https://github.com/openmicroscopy/bioformats/blob/develop/components/bio-formats/src/loci/formats/readers.txt

If you configure the omero.fs.readers property to point at a copy of this file with the ZipReader (or any other reader) commented out, then they will not be picked up by DropBox. In fact, having a file with only the readers of interest may save your DropBox some overhead.

See https://www.openmicroscopy.org/site/support/omero4/server/fs for information about configuring omero.fs.readers.

Cheers,
~Josh

Re: DropBox : zip imported files

PostPosted: Tue Dec 06, 2011 3:38 pm
by ppouchin
Ok. I have a better understanding of how this property works now.

It seems to work perfectly, and it's better than the "whitelist" I thought I had to use.

Thanks.