Skip to content

Conversation

@mattwthompson
Copy link
Collaborator

I noticed that the README currently recommends an old (2020?) Parsley force field. I updated the default behavior of SMIRNOFFTemplateGenerator to use 2.1.0, our current recommended force field for general use. That should be the only behavior change introduced here.

I also took a dive through the examples in the README and many of the examples in the source code and updated them and/or made sure they ran. I don't think there are substantive or wacky changes there.

Comment on lines +1606 to 1608
# Consider upgrading to 2.1.0, the recommended small moleucle force field for general use
self._reference_forcefield = 'openff_unconstrained-2.0.0'
self._charge_method = 'from-molecule'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed this in EspalomaTemplateGenerator but didn't want to make the change without better understanding what would happen

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the LJ parameters are unchanged between 2.0.0 and 2.1.0, so this should have no effect. But thanks for adding the comment for us to reevaluate later!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's right - it's a Pavlovian response of mine 🙂

@codecov-commenter
Copy link

codecov-commenter commented Oct 19, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (b3e92a3) 68.03% compared to head (e40ff9f) 68.03%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #305   +/-   ##
=======================================
  Coverage   68.03%   68.03%           
=======================================
  Files           5        5           
  Lines         879      879           
=======================================
  Hits          598      598           
  Misses        281      281           
Files Coverage Δ
...penmmforcefields/generators/template_generators.py 72.88% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@jchodera jchodera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Thanks!

Comment on lines +1606 to 1608
# Consider upgrading to 2.1.0, the recommended small moleucle force field for general use
self._reference_forcefield = 'openff_unconstrained-2.0.0'
self._charge_method = 'from-molecule'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the LJ parameters are unchanged between 2.0.0 and 2.1.0, so this should have no effect. But thanks for adding the comment for us to reevaluate later!

@jchodera jchodera merged commit 9eb2e49 into main Oct 26, 2023
@jchodera jchodera deleted the smirnoff-updates branch October 26, 2023 09:22
@jchodera jchodera mentioned this pull request Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants