[Biopython-dev] SeqIO.index improvement suggestions
Renato Alves
rjalves at igc.gulbenkian.pt
Sun Dec 20 00:08:42 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- - From Eric Talevich on 12/19/2009 10:42 PM:
> Or: open=open -- accept a function that opens the file; by default, the
> built-in open function, but easily replaced by gzip.open, bz2.BZ2File,
> or a user-defined function to open zip files (since that's less
> straightforward).
>
> Otherwise, since the variety of archive formats supported by the Python
> standard library is limited, archive='gzip'|'bz2'|'zip' sounds good.
I prefer the first option. Flexible, backwards compatible, fits all
mentioned cases so far and allows inclusion of other formats. Got my
vote on that one.
Renato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEYEARECAAYFAkstawUACgkQYh11EUYTX9TJbwCgi4fQGQcfaBdJNLbMRsubjz82
4LQAnRgY0IKjwznjtiQzRNd0k8SH4oMN
=YNHc
-----END PGP SIGNATURE-----
More information about the Biopython-dev
mailing list