[Biopython-dev] Bug in Bio.Restriction.Analysis.print_as('map') + correction

Peter Cock p.j.a.cock at googlemail.com
Tue Aug 9 14:49:30 UTC 2011


On Sun, Aug 7, 2011 at 2:44 PM, Jogi <derjogi at web.de> wrote:
> I'm new to the field of 'bug reporting', so please, if someone knows
> where I should post this message please tell me or do it yourself :)
>
> I've found a bug in the Bio.Restriction module when calling
> Analysis.print_as('map').
>
> The bugs (that I know of and that I corrected):
> 1. When there is a restriction site within the first 60 basepairs in the
> sequence this one isn't added to a list and thus raises an KeyError: 0

Could you give a short example script showing the problem?
It could then be used for a unit test.

> 2. Sometimes (I don't know exactly how to reproduce it any more) an
> Enzyme is repeated in every line although there is no restriction site.

I'm not familiar with that problem - without an example that will be
hard to look into.

Peter



More information about the Biopython-dev mailing list