We're Hiring!

[Solved] DropBox : zip imported files

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

[Solved] DropBox : zip imported files

Postby ppouchin » Mon Dec 05, 2011 3:31 pm

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 ?
Last edited by ppouchin on Tue Dec 06, 2011 3:38 pm, edited 1 time in total.
ppouchin
 
Posts: 98
Joined: Thu Dec 02, 2010 2:08 pm

Re: DropBox : zip imported files

Postby jmoore » Tue Dec 06, 2011 7:51 am

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
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: DropBox : zip imported files

Postby ppouchin » Tue Dec 06, 2011 3:38 pm

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.
ppouchin
 
Posts: 98
Joined: Thu Dec 02, 2010 2:08 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest