Commit Graph

162 Commits

Author SHA1 Message Date
Greg Landrum
d56a9d38b5 get this building on windows 2016-01-12 12:12:46 +01:00
Greg Landrum
6b06bccf3f clean up the uses of casts in the new code 2016-01-12 12:09:56 +01:00
Greg Landrum
90f142cf11 a bit more documentaiton 2016-01-12 12:09:56 +01:00
Greg Landrum
3130578930 additional tests 2016-01-12 12:09:56 +01:00
Greg Landrum
9e7b6a7409 add lazy id reading on the other paths (also not checked) 2016-01-12 12:09:56 +01:00
Greg Landrum
606ae353ca stop reading in all Ids when in lazy mode 2016-01-12 12:09:56 +01:00
Greg Landrum
700c59ff37 Add doxygen docs
Add ExplicitBitVect versions of a few of the methods
Update a couple of copyrights
2016-01-12 12:09:56 +01:00
Greg Landrum
4ae3318e45 speed up UpdateBitVectFromFPSText 2016-01-12 12:09:55 +01:00
Greg Landrum
438c1b217b add fingerprint contains searches (to support SSS screening) 2016-01-12 12:09:55 +01:00
Greg Landrum
7c0d4bdd89 add bitmap version of AllProbeBitsMatch() 2016-01-12 12:09:55 +01:00
Greg Landrum
8aae258e3c move responsibility for memory management out of extractBytes 2016-01-12 12:09:55 +01:00
Greg Landrum
9d26882286 comments 2016-01-12 12:09:55 +01:00
Greg Landrum
88826aea7b add (and test) functions for converting byte arrays to bitsets and back 2016-01-12 12:09:55 +01:00
Greg Landrum
16dc0cdc27 fix a typo when builtin_popcount is not being used 2016-01-12 12:09:55 +01:00
Greg Landrum
a6f2aba9b5 remove some printing 2016-01-12 12:09:55 +01:00
Greg Landrum
5af208a1e4 add a lazy mode that does not need to read in the whole database 2016-01-12 12:09:54 +01:00
Greg Landrum
0532faee70 builds and passes tests on windows 2016-01-12 12:09:54 +01:00
Greg Landrum
9ae728ef5c remove the topN arg since it isn't being used and won't save time anyway 2016-01-12 12:09:54 +01:00
Greg Landrum
dea28eb2fc add tests for the bitmap bitops 2016-01-12 12:09:54 +01:00
Greg Landrum
50e925a478 further lessening of memory management stupidity 2016-01-12 12:09:54 +01:00
Greg Landrum
5e7a7e0238 get a bit smarter about passing around pointers. still lots to do here, but it probably should wait for the c++14 version 2016-01-12 12:09:54 +01:00
Greg Landrum
8722043df8 add nBits() method
add getTanimotoNeighbors() method
2016-01-12 12:09:54 +01:00
Greg Landrum
72ab79508e add CalcBitmapPopcount() 2016-01-12 12:09:54 +01:00
Greg Landrum
08ce5a287d crude initial python wrapper 2016-01-12 12:09:54 +01:00
Greg Landrum
2e9063964e add getBytes(), test tanimoto 2016-01-12 12:09:53 +01:00
Greg Landrum
0015f853ac systematize use of popcnt 2016-01-12 12:09:53 +01:00
Greg Landrum
6bd2c20ac0 all tests pass 2016-01-12 12:09:53 +01:00
Greg Landrum
ca8ef113d4 parse popcounts and make them accessible 2016-01-12 12:09:53 +01:00
Greg Landrum
3813e9c802 we can now also read IDs 2016-01-12 12:09:53 +01:00
Greg Landrum
d17f4ca8f1 fingerprints are now properly read in 2016-01-12 12:09:53 +01:00
Greg Landrum
773f6b0432 backup 2016-01-12 12:09:53 +01:00
Greg Landrum
4cc2d46d49 initial commit, doesn't really do anything useful yet 2016-01-12 12:09:52 +01:00
Greg Landrum
79e1f8b1fa compiles without numpy warnings, all tests pass on ubuntu 15.04 with numpy 1.10 2015-11-28 06:49:34 +01:00
Greg Landrum
e08e0d16d8 first pass, using google style 2015-11-14 14:58:11 +01:00
Greg Landrum
80bb809b31 back out one of those changes 2015-11-14 14:13:36 +01:00
Greg Landrum
2a75463959 get rid of some more warnings 2015-11-14 09:21:05 +01:00
Greg Landrum
9b437d0099 switch off pragmas for gcc<4.2 2015-11-14 08:53:50 +01:00
Greg Landrum
e37296d7c7 post review 2015-11-14 08:08:14 +01:00
Greg Landrum
5618819c64 merge #641 2015-11-14 05:03:24 +01:00
Greg Landrum
1cde397acb merge commit 2015-10-30 02:58:46 +01:00
Brian Kelley
62e41756d4 Ignore type-limits for template class 2015-10-18 21:15:13 -04:00
Brian Kelley
54311dff9c Suppresses warnings in tests 2015-10-18 16:09:58 -04:00
Brian Kelley
23ef7fae3b Fixes meaningless const qualifier for int 2015-10-18 15:13:41 -04:00
Brian Kelley
0dcdc46a44 Fixes more unused parameters 2015-10-18 15:13:17 -04:00
Brian Kelley
403a3d6b7c Suppresses Boost warnings 2015-10-18 13:41:03 -04:00
Brian Kelley
a146c3826a Remove unused variables/functions and register keyword 2015-10-18 10:01:00 -04:00
Brian Kelley
12d562399a Merge branch 'master' into fix/const-string-ref 2015-10-13 07:08:00 -04:00
Brian Kelley
6ebbeb3bd3 Major conversion of std::string API to const std::string & 2015-09-25 15:15:59 -04:00
Greg Landrum
a743cff4d7 Fixes #573 2015-09-20 04:44:39 +02:00
Andrew Dalke
6d66534743 removed bare except statements 2015-09-07 13:27:14 +02:00