"vscode:/vscode.git/clone" did not exist on "09e1c928b3861a01c8037e09e1985348a263342e"
Commit 44325d07 authored by peastman's avatar peastman
Browse files

Made some tests more robust

parent f902295b
......@@ -17,7 +17,7 @@ class TestMetadynamics(unittest.TestCase):
cv = CustomBondForce('r')
cv.addBond(0, 1)
bias = BiasVariable(cv, 0.94, 1.06, 0.02)
meta = Metadynamics(system, [bias], 300*kelvin, 2.0, 5.0, 10)
meta = Metadynamics(system, [bias], 300*kelvin, 3.0, 5.0, 10)
integrator = LangevinIntegrator(300*kelvin, 10/picosecond, 0.001*picosecond)
topology = Topology()
chain = topology.addChain()
......
......@@ -35,7 +35,7 @@ class TestSimulatedTempering(unittest.TestCase):
distances = [[] for i in range(10)]
count = 0
for i in range(7000):
for i in range(20000):
st.step(5)
pos = simulation.context.getState(getPositions=True).getPositions().value_in_unit(nanometers)
r = norm(pos[0]-pos[1])
......
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