Files
rdkit/Code/GraphMol/MolInteractionFields/test_data/glysergly.mol
Greg Landrum 644296fe13 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-19 09:54:52 +01:00

61 lines
2.3 KiB
Plaintext

RDKit 3D
28 27 0 0 0 0 0 0 0 0999 V2000
3.6000 2.8791 -0.8706 O 0 0 0 0 0 0 0 0 0 0 0 0
2.8997 1.9897 -1.6008 C 0 0 0 0 0 0 0 0 0 0 0 0
3.0832 1.8793 -2.8023 O 0 0 0 0 0 0 0 0 0 0 0 0
1.8868 1.2239 -0.7685 C 0 0 0 0 0 0 0 0 0 0 0 0
1.3215 0.1220 -1.5333 N 0 0 0 0 0 0 0 0 0 0 0 0
0.3173 -0.7228 -1.1460 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.2733 -1.3623 -2.0164 O 0 0 0 0 0 0 0 0 0 0 0 0
-0.0167 -0.8395 0.3572 C 0 0 2 0 0 0 0 0 0 0 0 0
1.0408 -1.6961 1.0721 C 0 0 0 0 0 0 0 0 0 0 0 0
0.8787 -3.0781 0.7545 O 0 0 0 0 0 0 0 0 0 0 0 0
-1.3472 -1.4221 0.5447 N 0 0 0 0 0 0 0 0 0 0 0 0
-2.5533 -0.7883 0.4747 C 0 0 0 0 0 0 0 0 0 0 0 0
-3.5925 -1.4488 0.4569 O 0 0 0 0 0 0 0 0 0 0 0 0
-2.5589 0.7451 0.4581 C 0 0 0 0 0 0 0 0 0 0 0 0
-3.9347 1.2645 0.3976 N 0 0 0 0 0 0 0 0 0 0 0 0
4.1947 3.3133 -1.5201 H 0 0 0 0 0 1 0 0 0 0 0 0
2.3756 0.8168 0.1196 H 0 0 0 0 0 1 0 0 0 0 0 0
1.0750 1.8976 -0.4801 H 0 0 0 0 0 1 0 0 0 0 0 0
1.4385 0.1605 -2.5448 H 0 0 0 0 0 1 0 0 0 0 0 0
-0.0181 0.1662 0.7869 H 0 0 0 0 0 1 0 0 0 0 0 0
2.0598 -1.4023 0.8038 H 0 0 0 0 0 1 0 0 0 0 0 0
0.9232 -1.5952 2.1564 H 0 0 0 0 0 1 0 0 0 0 0 0
1.5228 -3.5813 1.2831 H 0 0 0 0 0 1 0 0 0 0 0 0
-1.4040 -2.4247 0.3841 H 0 0 0 0 0 1 0 0 0 0 0 0
-2.0787 1.1177 1.3670 H 0 0 0 0 0 1 0 0 0 0 0 0
-2.0077 1.1014 -0.4172 H 0 0 0 0 0 1 0 0 0 0 0 0
-4.4560 0.8336 1.1668 H 0 0 0 0 0 1 0 0 0 0 0 0
-4.3765 0.8507 -0.4290 H 0 0 0 0 0 1 0 0 0 0 0 0
1 2 1 0
2 3 2 0
2 4 1 0
4 5 1 0
5 6 1 0
6 7 2 0
8 6 1 6
8 9 1 0
9 10 1 0
8 11 1 0
11 12 1 0
12 13 2 0
12 14 1 0
14 15 1 0
1 16 1 0
4 17 1 0
4 18 1 0
5 19 1 0
8 20 1 0
9 21 1 0
9 22 1 0
10 23 1 0
11 24 1 0
14 25 1 0
14 26 1 0
15 27 1 0
15 28 1 0
M END