Skip to content
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

update to openff_unconstrained-2.1.0 as the default ff #201

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions espaloma/graphs/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,19 @@
# =============================================================================


def load_forcefield(forcefield="openff_unconstrained-2.0.0"):
def load_forcefield(forcefield="openff_unconstrained-2.1.0"):
# get a forcefield
try:
ff = ForceField("%s.offxml" % forcefield)
except:
except Exception as e:
print(e)
raise NotImplementedError
return ff


def openmm_system_from_graph(
g,
forcefield="openff_unconstrained-2.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Could also bump up to 2.2.0 as of today

Copy link
Contributor Author

Choose a reason for hiding this comment

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

what about as of today?

Copy link
Contributor

Choose a reason for hiding this comment

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

2.2.0 would be fine but 2.2.1 is the newest

Shouldn't need anything special at the packaging level, the latest openff-forcefields is difficult to not pull down

forcefield="openff_unconstrained-2.1.0",
suffix="",
charge_method="nn",
create_system_kwargs={},
Expand All @@ -52,7 +53,7 @@ def openmm_system_from_graph(
g : `espaloma.Graph`
Input graph.

forcefield : `str`
forcefield : `str`, optional, default='openff_unconstrained-2.1.0'
Name of the force field. Have to be Open Force Field.
(this forcefield will be used to assign nonbonded parameters, but all of its valence parameters will be overwritten)

Expand Down
Loading