[Biopython-dev] [Biopython] Bio.motifs raising Exceptions using pypy

Peter Cock p.j.a.cock at googlemail.com
Fri Jul 12 13:26:12 UTC 2013


On Fri, Jul 12, 2013 at 2:02 PM, Marco Galardini
<marco.galardini at unifi.it> wrote:
> On 07/12/2013 02:57 PM, Peter Cock wrote:
>>
>> Rereading the C code after lunch I realised how the 'ok' sentinel
>> value was being used - bad letters result in NaN as the value.
>>
>> Fixed,
>>
>> https://github.com/biopython/biopython/commit/00043d28bdf5408519cb4832d6a8e822d10f6653
>>
>> Peter
>
> Peter, i think you should remove the " raise ImportError" statement in line
> 359, as it would render impossible to use the extension (if I got that
> correctly).
>
> Marco

Thank you - that was debugging code for testing normal Python:
https://github.com/biopython/biopython/commit/66e35d5cdd1cdfbd56b46a2f6098f715adb80f9d

Peter



More information about the Biopython-dev mailing list