mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
Allow identification of chemistry problems (#2587)
* add AtomValenceException * refactor a bit and add KekulizeException * add copy ctor and copy() method * add detectChemistryProblems * add getType() method want to be able to get the type of the exception without requiring doing a bunch of dynamic casts * first pass at exception inheritance/translation needs some cleanup and expansion, but this does pass all tests. * cleanup and finish the python wrappers for the new exceptions * make sure things are truly polymorphic * wrap shared_ptrs of the new exception types * expose DetectChemistryProblems() * get the java wrappers building again * transfer those changes to the c# wrapper * add detectChemistryProblems() and deal with the fun fun exception inheritance things that ensue * response to review
This commit is contained in:
@@ -130,6 +130,10 @@ typedef unsigned long long int uintmax_t;
|
||||
%shared_ptr(RDKit::QueryBond)
|
||||
%shared_ptr(RDKit::QueryOps)
|
||||
%shared_ptr(RDKit::MolSanitizeException)
|
||||
%shared_ptr(RDKit::AtomSanitizeException)
|
||||
%shared_ptr(RDKit::AtomValenceException)
|
||||
%shared_ptr(RDKit::AtomKekulizeException)
|
||||
%shared_ptr(RDKit::KekulizeException)
|
||||
%shared_ptr(RDKit::SmilesParseException)
|
||||
%shared_ptr(RDKit::MolPicklerException)
|
||||
%shared_ptr(RDKit::RingInfo)
|
||||
|
||||
Reference in New Issue
Block a user