Dev/pickle properties (#1277)

* Adds pickling of properties (optional)

* Ignores RDKit::Dict::Pairs - previously private

* Fixes AllProps definition

* Fixes BondProps seperation

* Fixes reaction pickling - Adds ability to pickle atom + QueryAtom

* Bumps pickle version

* Removes fugly post-increments

* Changes Default to NoProps

* Tests more options for pickling

* Runs clang format

* Adds get/setDefaultPropertyPickleOptions, exposes to python

* turns tests back on.

* Fixes enum (clang was allowing c++11 semantics)

* Adds global settings test

* Code/GraphMol/testPicklerGlobalSettings.cpp
This commit is contained in:
Brian Kelley
2017-02-09 10:06:01 -05:00
committed by Greg Landrum
parent fb57081b66
commit e70599a12e
14 changed files with 1189 additions and 159 deletions

View File

@@ -178,6 +178,7 @@ typedef unsigned long long int uintmax_t;
%include "../types.i"
// Conformer seems to need to come before ROMol
%include "../Conformer.i"
%include "../Dict.i"
%include "../RDProps.i"
%include "../ROMol.i"
%include "../RWMol.i"