Files
rdkit/Code/GraphMol
Greg Landrum c90cee9b77 Add Molecular Interaction Fields (#7993)
* Add RealValueVect.

* Add UniformRealValueGrid3D

* Add Molecular Interaction Fields (MIFs)

* line endings

* cherry-pick f1bc94a4c8

* format

* Adapt tests for python3.

* Adapt RealValueVector pickling for python3.

* Speed-up of MIF calculations.

* Bugfix in MIFDescriptors.cpp.

* all tests pass

* clean up some memory leaks

* update copyrights

* rename

* rename the library

* complete the rename

* lost file

* another forgotten file

* cleanup

* clang-tidy

* clang-tidy

* windows DLL builds work

* python wrapper and tests cleanup

* convert to catch2 testing

* switch RealValueVect to use std::vector

* remove obsolete friend

* - Replace explicit loops with stdlib implicit equivalents
- Replace explicit types with auto where possible
- Avoid unnecessary copy operations where possible
- Replace raw pointers with exception-safe unique_ptr
- Replace C-style #define with constexpr
- Replace C-style casts with C++ casts
- Replace C-style arrays with std::vector
- Avoid code duplication with templated operators
- Replace VdWaals class taking multiple atom type definitions and force-field name as string parameter with force-field-specific classes deriving from an abstract VdWaals class
- Replace x,y,z doubles with Point3D class where possible
- Removed unused (and untested) DistanceToClosestAtom class
- Renamed some variables and functions for better clarity
- Converted tabs to spaces
- Made the mol parameter in cube read/write functions optional for convenience
- Made the Python wrappers more pythonic (e.g., avoid C++-style passing objects as parameters which are modified in place)
- Implemented alternative Python class constructors using boost::python::make_constructor rather than with external non-class functions
- The Python wrappers taking a sequence of Point3D now take a sequence of sequences, such that the output of Conformer.GetPositions() can be passed
- Made the Python wrapper sequence parsing more robust
- Removed duplicated code from Python wrappers

* - avoid an unnecessary copy

* progress

* works

* more cleanup

* all tests pass

* changes in response to review

---------

Co-authored-by: dfhahn <dfhahn@users.noreply.github.com>
Co-authored-by: ptosco <paolo.tosco@novartis.com>
2024-12-14 17:08:43 +01:00
..
2024-11-14 05:14:51 +01:00
2024-12-12 18:13:29 +01:00
2019-10-10 20:18:43 +09:00
2024-11-21 14:28:19 +01:00
2024-11-30 07:20:20 +01:00
2023-11-15 06:45:42 +01:00
2019-10-10 20:18:43 +09:00
2024-12-12 06:11:23 +01:00
2024-10-11 06:42:52 +02:00
2024-10-11 06:42:52 +02:00
2024-12-12 06:11:23 +01:00
2023-11-15 06:45:42 +01:00
2024-12-12 18:13:29 +01:00
2024-07-22 16:34:08 +02:00
2024-07-15 14:15:32 -04:00
2018-07-25 09:14:17 +02:00
2022-07-11 11:20:03 +02:00
2021-07-09 15:06:54 +02:00
2018-07-25 09:14:17 +02:00
2019-10-10 20:18:43 +09:00
2020-09-02 04:51:20 +02:00
2023-12-22 04:58:18 +01:00
2019-12-31 06:43:27 +01:00
2024-10-03 06:52:34 +02:00
2024-01-19 18:43:30 +01:00
2024-01-19 18:43:30 +01:00
2023-12-01 05:41:14 +01:00
2024-02-22 06:46:39 +01:00