Conversation
- Pass variable in which AEV is to be stored as reference - Added edge case handling in which no atoms lie within the cutoff radius of each other
… the atom along + and - x, y and axes and finding derivative by first principle
- Added tests for ANI Convenience functions - Added python wrappers and python tests for the convenience functions
Added if condition to build Eigen Serializer only if eigen is present
Changed weights to use portable archives
Added CMake instructions to fetch the weights from supporting repository Added condition in CMake to not build ANI and EigenSerializer when using windows
Made displacement a constant in numeric differentiation Added use of std::unique_ptr in ForceFieldHelpers convenience functions
…nto CookbookEntry
Corrected docstring for a python wrapper
* Fixes rdkit#3365 * update expected inchi results Note that this actually increases the number of failures with one of the tests. That's because I believe the expected InChIs to be wrong and these new results to be correct.
greglandrum
reviewed
Aug 27, 2020
CMakeLists.txt
Outdated
| if(NOT WIN32) | ||
| target_compile_definitions(rdkit_base INTERFACE "-DRDK_HAS_EIGEN3" "-DRDK_BUILD_ANI") | ||
| target_link_libraries(rdkit_base INTERFACE Eigen3::Eigen) | ||
| set(ANIParamsDir "${CMAKE_CURRENT_SOURCE_DIR}/Code/ForceField/ANI/Params") |
There was a problem hiding this comment.
Can we move the part of this that deals with downloading and extracting the parameters to Code/ForceField/ANI/CMakeLists.txt?
Owner
Author
There was a problem hiding this comment.
Where should I move it to?
Changed CMakeLists.txt to pull weights to Data/ANIParams Changed Cookbook entry to fix code rendering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR represents the final changes for integrating ANI into rdkit including the ANI ForceField forward pass and backward pass using numerical differentiation along with the corresponding python wrappers and ForceFieldHelpers function.
The corresponding Cookbook entry has also been made in
Docs/Book/Cookbook.rstfrom lines 1819 to 1881.All ANI components are built as separate libraries in CMake and weights for the model are pulled from a different repository during the build. This code passes all CI builds.
ANI builds for windows have been disabled which can be seen in
CMakeLists.txtfrom lines 384 to 412.