-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permit fits with virtual sites #292
Conversation
What's the status of this PR? There's no description or tests. Do fits with vsites run locally using this code? Do the outputs appear to be correct? We can tap @lilyminium or someone else on the OpenFF science team to validate these changes if needed. |
It runs @lilyminium's MRE without error, I don't know if the results are correct or not |
I'd like to have a minimal test case if possible, for example, we could fit the energies and forces on a water dimer (we could even use a force field to generate fake QM data.) If we start the optimization from different parameters (p1) than those that were used to generate the fake data (p0), and the optimization converges to p0, then we will know the results are correct. |
Here's the test case that does not work with 1.9.6: vsites-interchange.tar.gz What tests currently in the codebase should I model a new set of tests after? |
I think this would work well: https://github.com/leeping/forcebalance/blob/master/src/tests/test_system.py#L122 The test involves running the optimization in |
That's a pretty heavy test, is there a way to test this behavior with fewer moving parts and files/configuration (akin to a set of unit tests)? |
You could create an instance of the ForceBalance SMIRNOFF engine from a given .mol2 and force field XML file, calculate the single point energy and force for the structure, and compare it to a reference value. A similar example for AMBER / GROMACS / TINKER is here: https://github.com/leeping/forcebalance/blob/master/src/tests/test_engine.py#L116 |
No description provided.