Commit Graph

179 Commits

Author SHA1 Message Date
Paolo Tosco
aa763c4cfc - fixed a few slashes in a Linux path (#997)
- added some information how to run PgSQL ctest
2016-07-29 14:07:09 +02:00
Greg Landrum
7ef4b028c0 Fixes #987 (#988) 2016-07-26 13:20:10 -04:00
Gianluca Sforna
5106eb8d3e Fix format-security GCC warning (#984)
In Fedora land, format-security GCC warnings are treated as errors
so the build would fail like this:

In file included from /usr/include/pgsql/server/postgres.h:48:0,
                 from rdkit.h:40,
                 from mol_op.c:33:
mol_op.c:339:19: error: format not a string literal and no format arguments [-Werror=format-security]
     elog(WARNING, t);
                   ^
2016-07-24 15:59:01 +02:00
Paolo Tosco
f0701b7811 - fixes built-in popcount in PgSQL cartridge on Windows (#978) 2016-07-20 22:52:21 -04:00
Greg Landrum
d9d4fbb9a8 typo fix
<sigh>
2016-06-22 17:52:20 +02:00
Greg Landrum
4997acdda8 Ensure the cartridge uses POPCOUNT when built with cmake
The problem only affected cmake cartridge builds.
2016-06-22 16:54:23 +02:00
Greg Landrum
d63f44cc0c Add cartridge support for adjustQueryProperties() (#949)
* backup commit

* Change the names and meanings of MolOps::AdjustQueryWhichFlags
What was there before was not flexible enough and was extremely confusing. This should clear that up.

NOTE: this does break backwards compatibility with code that uses this enum, but given that this is new and has not been
widely promoted, I suspect it should not affect that many people. The default behavior of MolOps::adjustQueryProperties()
remains the same.

* adjust to the new AdjustQueryWhichFlags

* add mol_adjust_query_properties tests to the cartridge
2016-06-21 14:38:32 -04:00
Greg Landrum
a9186f6af9 Fixes #920 2016-05-20 13:20:47 +02:00
Greg Landrum
ffe829d5da adjust cartridge tests after the fix for #874 (#884) 2016-04-25 14:19:01 -04:00
Paolo Tosco
735052d267 - fixed a few typos in Code/PgSQL/rdkit/CMakeLists.txt 2016-04-19 17:09:54 +01:00
Paolo Tosco
5b7b56ce1f - PostgreSQL cartridge install commands are now echoed on Linux and OS X 2016-04-09 18:05:30 +01:00
Paolo Tosco
90287fd76f - correction in Code/PgSQL/rdkit/README 2016-04-09 17:35:21 +01:00
Paolo Tosco
d27179a115 - added some instructions to help finding PostgreSQL under RHEL/CentOS
using the PostgreSQL RPMs provided by the PostgreSQL RPM Building Project
2016-04-09 11:53:59 +01:00
Paolo Tosco
8135eb0396 - Updated Install.md and README files related to the new CMake build
procedures involving the Avalon Toolkit, InChI and PostgreSQL cartridge
2016-04-03 23:06:28 +01:00
Paolo Tosco
95ad08f934 - added a PGDLLEXPORT to _PG_init(void) to avoid "unrecognized
configuration parameter" errors on Windows with PostgreSQL 9.1
- added a dummy RDKit cartridge function call at the beginning of the
  reaction.sql test to avoid "unrecognized configuration parameter" errors
  with PostgreSQL 9.1
- modified reaction.out to reflect the change in reaction.sql
2016-03-31 22:04:42 +01:00
Paolo Tosco
1caedd96b5 - added a fix for earlier version of PostgreSQL on Windows in
CMakeLists.txt
- fixed a bug in Code/PgSQL/rdkit/rdkit_gist.c which did not cause
  issues with PostgreSQL 9.5 on Windows, but does with earlier PostgreSQL
  versions
- removed an unnecessary conditional compilation clause from
  Code/PgSQL/rdkit/rdkit.h as PostgreSQL 8.x is not supported anymore
2016-03-30 19:28:11 +01:00
Paolo Tosco
8e2009bd36 - added support for different PostgreSQL version with regard to the
--psqldir switch
2016-03-24 22:57:17 +00:00
Paolo Tosco
016c6482af - fixed the PostgreSQL CMake build on OS X 2016-02-25 23:21:37 +00:00
Paolo Tosco
8266f37529 - added support for building the rdkit PostgreSQL cartridge within CMake 2016-02-21 22:00:10 +00:00
Paolo Tosco
972d9db325 - updated the PostgreSQL rdkit cartridge README 2016-02-21 21:57:23 +00:00
Paolo Tosco
cf8180e435 - added PGDLLEXPORT to allow exporting the relevant symbols in the Windows
rdkit.dll PostgreSQL cartridge DLL
2016-02-21 21:38:13 +00:00
Greg Landrum
dab873fc4d support providing InChI (or InChI key) generation options in cartridge 2016-02-06 05:50:23 +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
e08e0d16d8 first pass, using google style 2015-11-14 14:58:11 +01:00
Greg Landrum
20efe4f061 fix multithread build 2015-11-06 07:12:10 +01:00
Greg Landrum
d30cb9a19b Fixes #428 2015-10-28 06:23:45 +01:00
Greg Landrum
f360fcd12b remove some extraneous stuff 2015-10-28 06:04:42 +01:00
Greg Landrum
1692914b6e Fixes #525 2015-10-28 06:01:46 +01:00
Greg Landrum
c924b36c9a Merge branch 'master' into Issue525 2015-10-28 03:19:17 +01:00
Greg Landrum
d905e07f20 support new descrs in cartridge 2015-09-21 16:31:36 +02:00
Greg Landrum
65144fbf3c disable the last of the debugging output 2015-06-30 02:48:12 +02:00
Greg Landrum
58402d063c disable the last of the debugging output 2015-06-30 02:46:13 +02:00
Greg Landrum
a43492a195 way too much debugging output still in here, but this might be close to a solution 2015-06-27 07:49:50 +02:00
Greg Landrum
49f55e76ed add test for the issue 2015-06-23 07:01:16 +02:00
Greg Landrum
1b195e0146 Fixes #499 2015-05-03 08:53:27 +02:00
Greg Landrum
2904be0833 add warnings for timeouts 2015-04-18 07:09:59 +02:00
Greg Landrum
37841d7e78 update library ordering for cartridge makefile 2015-04-16 05:11:15 +02:00
Greg Landrum
bbdea57838 clean some comments out of the sql input 2015-04-13 07:27:46 +02:00
Greg Landrum
f196784218 update expected cartridge reaction-test results 2015-04-11 07:22:10 +02:00
Greg Landrum
d778060bcf Merge branch 'master' into mol_hash_and_fmcs_Feb2015 2015-04-11 06:44:22 +02:00
Nadine Schneider
0132cc72e9 Merge branch 'newCanon' into master3
Conflicts:
	Code/GraphMol/SmilesParse/test.cpp
2015-04-10 10:25:47 +02:00
Nadine Schneider
5d963846b8 merge 2015-04-10 09:44:18 +02:00
Greg Landrum
7b0d494dc3 update expected results from cartridge tests 2015-04-10 09:29:26 +02:00
Greg Landrum
d3d362a702 merge master 2015-04-03 07:23:23 +02:00
Greg Landrum
d7474cd621 Merge branch 'Issue469' 2015-04-03 07:14:39 +02:00
Greg Landrum
a0b9b94f34 check empty string handling in the cartridge too 2015-04-02 11:15:33 +02:00
Greg Landrum
f0d4cf1ec6 first pass at a solution for #469 2015-04-02 10:10:22 +02:00
Jan Holst Jensen
d0b3f9e84e Add code to accept blank SMILES input.
No-Structures are saved to database dumps as blank strings ''.
This patch allows dumps with No-Structures to be read back in.
2015-04-01 16:54:12 +02:00
Greg Landrum
9fd56d66f6 Fixes: #455 2015-03-16 08:48:04 +01:00