[BioPython] Bio.KDTree on 64 bit machines

Paul Rudin paul at rudin.co.uk
Mon Nov 10 19:19:46 UTC 2008


Peter <biopython at maubp.freeserve.co.uk> writes:

> On Mon, Nov 10, 2008 at 4:59 PM, Paul Rudin <paul at rudin.co.uk> wrote:
>>
>> I'm looking at the biopython KDTree class. It requires arrays with
>> dtype=="float32". I can make such arrays, but on 64 bit machines it's
>> more natural (and the default for numpy float arrays) to have "float64".
>>
>
> You're looking at the code for Biopython 1.49b or CVS right?
> i.e. Bio/KDTree/KDTree.py CVS revision 1.10 or 1.11

Yes - I installed with:
"sudo easy_install -f http://biopython.org/DIST/biopython", which seems
to be 1.49 beta at the time of writing.

>
> [For Biopython 1.48 and older we used Numeric, which just had "f" as the type.]
>
> Hopefully Michiel can explain if there was a particular reason for
> choosing "float32", but on the face of it following the numpy default
> would seem sensible.  


> Would you like to file a bug on this issue?

OK, I will.




More information about the Biopython mailing list