-
Notifications
You must be signed in to change notification settings - Fork 78
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
Adds checking if the RB_to_OPLS dihedral conversion is exact when the standard OPLS format does not have a constant (i.e., f0/2) #436
base: main
Are you sure you want to change the base?
Conversation
…n the standard OPLS format does not have a constant (i.e., f0/2). If the RB is not directly convertible to the standard OPLS, then it prints a list. Then, it compares to the printed list with a user input list of known dihedrals that are not analytically perfect, and if it is not in the list, it throws an error. This will also help catch other random user-entered errors for the dihedrals in the MoSDeF standard FF XMLs.
for more information, see https://pre-commit.ci
This pull request introduces 2 alerts when merging f72d4d5 into 3b91082 - view on LGTM.com new alerts:
|
Codecov Report
@@ Coverage Diff @@
## master #436 +/- ##
==========================================
+ Coverage 73.88% 75.46% +1.57%
==========================================
Files 17 18 +1
Lines 1842 1981 +139
==========================================
+ Hits 1361 1495 +134
- Misses 481 486 +5 |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
This pull request introduces 2 alerts when merging 3902bb6 into 3b91082 - view on LGTM.com new alerts:
|
This pull request introduces 2 alerts when merging f56a3a0 into fc44f80 - view on LGTM.com new alerts:
|
…to_OPLS_xml_checks
This adds checking if the RB_to_OPLS dihedral conversion is exact when the standard OPLS format does not have a constant (i.e., f0/2). If the RB is not directly convertible to the standard OPLS, then it prints a list. Then, it compares to the printed list with a user input list of known dihedrals that are not analytically perfect, and if it is not in the list, it throws an error. This will also help catch other random user-entered errors for the dihedrals in the MoSDeF standard FF XMLs.
NOTE:
We need to replace the manually input RB_to_OPLS conversion in the check_xml_dihedrals_RB_to_OPLS.py file with the mBuild version, once foyer updates to this new mBuild.
Let me know everyone's thoughts.
PR Checklist