[Biopython-dev] Nexus parser
Iddo Friedberg
idoerg at burnham.org
Tue Feb 15 16:58:51 EST 2005
Michael Hoffman wrote:
> Iddo:
>> All current Linux distros use a <=2.3 version, and 2.3 does not have
>> Sets.
>
>
> Actually, it does:
>
> $ python2.3
> Python 2.3.4 (#1, Feb 2 2005, 12:11:53) [GCC 3.4.2 20041017 (Red Hat
> 3.4.2-6.fc3)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
>>>> import sets
>>>> sets.Set("biopython")
>>>
> Set(['b', 'i', 'h', 'o', 'n', 'p', 't', 'y'])
>
> It just doesn't have the built-in sets of Python 2.4:
>
Will that still break your code, Frank? Can you make it Python 2.3?
Sounds like you should be changing a couple of import statements, but
can leave the rest of the code unchanged.
Also, that means that Biopython should use Python 2.3 at least. However,
I see no problem with that.... does anybody?
>
> That said, my vote is to include the module, even in its requiring-2.4
> version.
Vote noted. I have a Diebold machine here.. somewhere...
./I
--
Iddo Friedberg, Ph.D.
The Burnham Institute
10901 N. Torrey Pines Rd.
La Jolla, CA 92037 USA
Tel: +1 (858) 646 3100 x3516
Fax: +1 (858) 713 9930
http://ffas.ljcrf.edu/~iddo
==========================
The First Automated Protein Function Prediction SIG
Detroit, MI June 24, 2005
http://ffas.burnham.org/AFP
More information about the Biopython-dev
mailing list