-
Notifications
You must be signed in to change notification settings - Fork 23
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
Error when non-bonded 1-4 scaling factors differ significantly #1153
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1153 +/- ##
=======================================
Coverage 93.38% 93.38%
=======================================
Files 70 70
Lines 6028 6036 +8
=======================================
+ Hits 5629 5637 +8
Misses 399 399 ☔ View full report in Codecov by Sentry. |
49bd0cf
to
7cf3605
Compare
warnings.warn( | ||
"Found electrostatics 1-4 scaling factors of 5/6 with slightly different rounding " | ||
"(0.833333 and 0.8333333333). This likely stems from OpenFF using more digits in rounding 1/1.2. " | ||
"The value of 0.8333333333 will be used, which may or may not introduce small errors. ", | ||
InterchangeCombinationWarning, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's where I'd like to link to upstream openforcefield/openff-forcefields#120
7cf3605
to
5be8691
Compare
Co-authored-by: Lily Wang <31115101+lilyminium@users.noreply.github.com>
Thanks! |
Description
Closes #380
Checklist