File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929# =============================================================================
3030
3131
32- def load_forcefield (forcefield = "openff_unconstrained-2.0.0 " ):
32+ def load_forcefield (forcefield = "openff_unconstrained-2.2.1 " ):
3333 # get a forcefield
3434 try :
3535 ff = ForceField ("%s.offxml" % forcefield )
36- except :
36+ except Exception as e :
37+ print (e )
3738 raise NotImplementedError
3839 return ff
3940
4041
4142def openmm_system_from_graph (
4243 g ,
43- forcefield = "openff_unconstrained-2.0.0 " ,
44+ forcefield = "openff_unconstrained-2.1.1 " ,
4445 suffix = "" ,
4546 charge_method = "nn" ,
4647 create_system_kwargs = {},
@@ -52,7 +53,7 @@ def openmm_system_from_graph(
5253 g : `espaloma.Graph`
5354 Input graph.
5455
55- forcefield : `str`
56+ forcefield : `str`, optional, default='openff_unconstrained-2.1.1'
5657 Name of the force field. Have to be Open Force Field.
5758 (this forcefield will be used to assign nonbonded parameters, but all of its valence parameters will be overwritten)
5859
You can’t perform that action at this time.
0 commit comments