[pygr-notify] Issue 13 in pygr: support for gzipped file: NLMSABuilder, textfile_to_binaries, and dump_textfile

codesite-noreply at google.com codesite-noreply at google.com
Fri Aug 22 13:34:42 PDT 2008


Issue 13: support for gzipped file: NLMSABuilder, textfile_to_binaries, and  
dump_textfile
http://code.google.com/p/pygr/issues/detail?id=13

Comment #1 by cjlee112:
Any SourceURL downloaded by pygr.Data (using download_unpickler()), will be
automatically uncompressed, for a variety of formats based on suffix:
- .tgz, .tar.gz: gunzip and untar
- .tar.bz2: uncompress bz2 and untar
- .gz: gunzip
- .zip: unzip
- .tar: untar

This is handled in a modular way by SourceURL; classes like NLMSABuilder  
that use the
product of SourceURL do not need to be modified in any way to work with  
compressed
files.  There is no need for NLMSA-specific functions like  
textfile_to_binaries() or
dump_textfile() to incorporate (un)compression capabilities, unless we  
think that
users will not have enough disk space to even store the uncompressed file!


Issue attribute updates:
	Status: Fixed
	Cc: cjlee112 ti... at idyll.org

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings



More information about the pygr-notify mailing list