Files
rdkit/Code/GraphMol/FileParsers
Paolo Tosco 0cdb8dcd5e Molblock wedging improvements (#5981)
* - fix indentation
- fix regex check (which currently always fails)

* wip

* - added clearMolBlockWedgingInfo()
- added invertMolBlockWedgingInfo()
- MinimalLib::generate_aligned_coords() now inverts stereochemistry if a rigid-body alignment transformation caused chiality inversion
- MinimalLib::generate_aligned_coords() now clears stereochemistry if coordinates changed
- added JSMol::clear_prop() to the already existing JSMol::get_prop() and JSMol::set_prop()
- renamed commonchem to rdkitjson in JS unit test
- added relevant unit tests

* fixed mistake in logic

* - added add_hs_in_place() and remove_hs_in_place() to the JS MinmalLib
- added relevant tests

* - removed check for existence of a property ahead of clearing it as it is not necessary; updated the clearProp docstring to reflect this
- updated the MolFileStereochem.h docstrings based on review comments and fixed a typo
- fixed two (legitimate) compiler warnings as get_molblock() and get_v3kmolblock() should return nullptr and not a pointer to an empty string; added tests for this as there was none
- in MinimalLib/common.h, moved the check of whether a molecule has undergone a flip around the Z axis to a function in the anonymous namespace
- in MinimalLib/common.h, added logic to preserve original wedging (and eventually invert it) also when alignOnly is set to false, in case the wedging is all within the constrained scaffold
- added thourough testing of the wedging logic on both CFFI and JS sides

* - added equality operator to CXXAtomIter and CXXBondIter classes such that they can used with implicit loop STL algorithms
- added relevant unit tests

* fix Windows build

Co-authored-by: Tosco, Paolo <paolo.tosco@novartis.com>
2023-01-24 05:17:59 +01:00
..
2019-10-10 20:18:43 +09:00
2022-09-28 05:49:27 +02:00
2022-12-16 05:39:38 +01:00
2021-05-18 15:39:15 +02:00
2022-07-11 11:20:03 +02:00
2019-10-10 20:18:43 +09:00
2023-01-15 05:29:38 +01:00
2022-12-16 05:39:38 +01:00
2023-01-07 05:13:00 +01:00
2021-09-04 14:01:56 +02:00
2022-11-02 09:32:54 -04:00
2020-12-08 08:45:46 -05:00
2022-07-11 13:55:35 +02:00
2022-09-14 06:36:42 +02:00
2019-04-16 12:05:47 -04:00
2022-12-16 06:36:28 +01:00
2019-04-16 12:05:47 -04:00
2019-04-16 12:05:47 -04:00
2022-11-02 09:32:54 -04:00
2022-06-01 04:45:14 +02:00
2022-11-01 04:14:26 +01:00