[Biopython-dev] next release closer (?)

Andrew Dalke dalke at acm.org
Thu Nov 30 00:51:10 EST 2000


>>         if endpos:
>>             m = self.grouped_re.search(buffer(seq.data), pos, endpos)
>>         else:
>>             m = self.grouped_re.search(buffer(seq.data), pos)

Oops.  Just realized this code contains a bug when endpos == 0.  The
test should instead be for

  if endpos is not None:
    ...

Fixed in CVS.

                    Andrew





More information about the Biopython-dev mailing list