Hi all, I tried to run the following code but I got the error message:
AttributeError: 'module' object has no attribute 'ConvertToNumpyArray' The code is shown below: def NumpyArrays(fplist): nlist = [] for fp in fplist: arr = numpy.zeros((1,), numpy.float32) DataStructs.ConvertToNumpyArray(fp, arr) nplist.append(arr) return nlist np_fps_act = NumpyArrays(fps_act) Regards Samuel ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss