Unverified Commit 8616c593 authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #2702 from peastman/tests

Made some tests more robust
parents b0d13582 44325d07
......@@ -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