[Biopython-dev] KDTree to numpy
Peter
biopython at maubp.freeserve.co.uk
Sun Feb 17 06:05:51 EST 2008
On Feb 17, 2008 7:58 AM, Marcin Cieślik <marcin.cieslik at gmail.com> wrote:
> Hi,
>
> I was able to make KDtrees work with numpy. There where no real problems
> apart from my complete lack of c++/swig skills. It seems to me that
> everything is working fine.
>
> the includes in KDTree.i look like this:
>
> %{
> #include "KDTree.h"
> #include
> </usr/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h>
> %}
> is this correct? Changes in .py files where really small.
This looks very similar to the change in the patch on bug 2255 except
Ed used a relative path.
http://bugzilla.open-bio.org/show_bug.cgi?id=2251
Peter
More information about the Biopython-dev
mailing list