[Biopython-dev] Re: bug 37 (fwd)
Andrew Dalke
dalke at dalkescientific.com
Wed Jul 11 04:59:39 EDT 2001
That's can't be right, since there's no 'j':
Iddo:
> >>> from Bio import Seq
> >>> l=Seq.MutableSeq('ACDEFGHIKL')
> >>> print j
> MutableSeq('ACDEFG', Alphabet())
> >>> j
>Segmentation fault (core dumped)
[dalke at pw600a biopython]$ python
Python 2.0 (#4, Dec 8 2000, 21:23:00)
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> from Bio import Seq
>>> l = Seq.MutableSeq('ACDEFGHIKL')
>>> print l
MutableSeq('ACDEFGHIKL', Alphabet())
>>> l
MutableSeq(array('c', 'ACDEFGHIKL'), Alphabet())
>>>
If I were to make a guess, what happens when you do
>>> import array
>>> a = array.array('c', 'ACDEFGHIKL')
>>> a
array('c', 'ACDEFGHIKL')
>>>
?
Andrew
More information about the Biopython-dev
mailing list