Re: [Rdkit-discuss] numpy array to bit vector
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
From: Curt F. <cur...@gm...> - 2017-03-17 12:42:07
|
Hi Greg, On Thu, Mar 16, 2017 at 9:05 PM, Greg Landrum <gre...@gm...> wrote: > I'm a bit confused by all this. The RDKit has Tanimoto (and a bunch of > other similarity measures) built in: > > Good point (as always). I'd been assuming that for some reason that OP had fingerprints that had been converted to *numpy.ndarray* objects, not *rdkit.DataStructs.ExplicitBitVect *objects. Looking back over the thread, maybe what was really being asked was, "how do I convert *numpy.ndarray* objects to *rdkit.DataStructs.ExplicitBitVect * objects? Curt |