[Biopython-dev] Notification: incoming/8
Cayte
katel at worldpath.net
Mon Jul 10 04:02:00 EDT 2000
> > > However, not setting a value specified in a record is a more serious
problem.
> > > Which prosite file is this happening on?
> > >
> > >
> > I saw it on all the files in my Test\Prosite directory.
> >
> >
> > Cayte
>
>
> I still can't duplicate it:
>
> taiyang:~/remotecvs/biopython/Tests/Prosite> python
> Python 1.5.2 (#1, Sep 26 1999, 16:32:39) [C] on sunos5
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> from Bio.Prosite import Prosite
> >>> rec = Prosite.RecordParser().parse(open('ps001'))
> >>> print rec.nr_false_neg
> 33
> >>> rec = Prosite.RecordParser().parse(open('ps00107.txt'))
> >>> print rec.nr_false_neg
> 142
> >>>
>
>
> Can you send some code that will reproduce the bug?
>
> Jeff
>
>
I used code that assumes a tuple or list
def print_list( list ):
for item in list:
print( ' ' + str( item ) )
f Cayte
More information about the Biopython-dev
mailing list