Skip to content

Commit

Permalink
update to openff_unconstrained-2.1.0 as the default ff
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemhenry committed Dec 7, 2023
1 parent 13af90b commit 0d4f8f4
Showing 1 changed file with 5 additions and 4 deletions.
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",
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

0 comments on commit 0d4f8f4

Please sign in to comment.