[Rdkit-devel] Fingerprint Reading
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
From: Nicholas F. <Nic...@ic...> - 2012-03-12 15:32:48
|
Hi All, I've now got an issue with reading in fingerprints (now that you've helped me write them), I've tried a number of different ways. Currently I've got the fingerprints as a string made up of bits, i.e. "000001000000000000…", although I also had a crack with pickle strings. I think it's a similar issue as I had before, getting to grips with the ptr vs structure but the code I got to compile is, ExplicitBitVect *fp; getline(fileNam, bit); fp= new ExplicitBitVect(bit); The error I get is, terminate called throwing an exceptionAbort trap: 6 It's contained by InitFromString which I can find an example of in the RDKit source, but I can't find one for this. Thanks in advance, Best, Nick The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP. This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer and network. |