[Rdkit-discuss] Python argument types did not match C++ signature

2014-10-14 Thread Paul Emsley
Hi RDKitters, I'm a bit lost with boost::python/RDKit/MacOSX. I have a boost::python function: RDKit::ROMol *hydrogen_transformations(const RDKit::ROMol &r); which is exposed like this: BOOST_PYTHON_MODULE(pyrogen) { def("hydrogen_transformations", hydrogen_transformations, return_v

Re: [Rdkit-discuss] Python argument types did not match C++ signature

2014-10-14 Thread Greg Landrum
Hi Paul, On Tue, Oct 14, 2014 at 11:22 PM, Paul Emsley wrote: > > I'm a bit lost with boost::python/RDKit/MacOSX. > > I have a boost::python function: > > RDKit::ROMol *hydrogen_transformations(const RDKit::ROMol &r); > > > which is exposed like this: > > BOOST_PYTHON_MODULE(pyrogen) { > >

Re: [Rdkit-discuss] Python argument types did not match C++ signature

2014-10-14 Thread William G. Scott
On Oct 14, 2014, at 8:41 PM, Greg Landrum wrote: > Hi Paul, > > On Tue, Oct 14, 2014 at 11:22 PM, Paul Emsley > wrote: > > I'm a bit lost with boost::python/RDKit/MacOSX. > > I have a boost::python function: > > RDKit::ROMol *hydrogen_transformations(const RDKit::ROMol &r); > > > whi

Re: [Rdkit-discuss] Python argument types did not match C++ signature

2014-10-15 Thread William G. Scott
On Oct 14, 2014, at 8:41 PM, Greg Landrum wrote: > The first thing that comes to mind, and I'm not sure that this has any > relevance at all, is that it could be an import order thing. Does Bill import > Chem before he imports your code? > > The next possibility that I can come up with is th