[chimera-dev] compression

Eric Pettersen pett at cgl.ucsf.edu
Wed May 7 17:15:43 PDT 2003


Haven't heard anything negative yet about my proposal.  Or positive 
either for that matter. :-)  Unless someone objects, I'll implement the 
below in a few days.

--Eric

On Saturday, May 3, 2003, at 02:57 PM, Eric Pettersen wrote:

> I've been thinking a little more about using compressed files.  How 
> about this:
>
> Current OpenSave functions would continue to work much as they do now, 
> except that appropriate .gz files would also be listed in the browser, 
> and possibly returned in the list of paths.  Instead of opening 
> returned paths with the built-in open, you would instead use a 
> function in OpenSave (osOpen?) that would check for possible 
> compression and return an appropriate file-like object.
>
> For contexts where an uncompressed file path is needed (e.g. handing 
> off to PDBio [for now]), there would be another function in OpenSave 
> that takes a path and returns a corresponding path to a uncompressed 
> file [a no-op if the file was already uncompressed].  Any temporary 
> uncompressed files would automatically be deleted on APPQUIT.
>
> Opinions?
>
> --Eric
>
> _______________________________________________
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-dev



More information about the Chimera-dev mailing list