Commit dabc249c authored by John Chodera's avatar John Chodera
Browse files

Fix simtk import in User Guide

parent 40cc309d
...@@ -864,8 +864,7 @@ small molecule force field you want to use: ...@@ -864,8 +864,7 @@ small molecule force field you want to use:
:: ::
# Define the keyword arguments to feed to ForceField # Define the keyword arguments to feed to ForceField
from simtk import unit from openmm import unit, app
from openmm import app
forcefield_kwargs = { 'constraints' : app.HBonds, 'rigidWater' : True, 'removeCMMotion' : False, 'hydrogenMass' : 4*unit.amu } forcefield_kwargs = { 'constraints' : app.HBonds, 'rigidWater' : True, 'removeCMMotion' : False, 'hydrogenMass' : 4*unit.amu }
# Initialize a SystemGenerator using GAFF # Initialize a SystemGenerator using GAFF
from openmmforcefields.generators import SystemGenerator from openmmforcefields.generators import SystemGenerator
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment