Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
c47fc7ce
Unverified
Commit
c47fc7ce
authored
Jun 01, 2022
by
Peter Eastman
Committed by
GitHub
Jun 01, 2022
Browse files
Prevent intermittent failures in a test case (#3622)
parent
7af08783
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/tests/TestSimulatedTempering.py
wrappers/python/tests/TestSimulatedTempering.py
+1
-1
No files found.
wrappers/python/tests/TestSimulatedTempering.py
View file @
c47fc7ce
...
...
@@ -92,7 +92,7 @@ class TestSimulatedTempering(unittest.TestCase):
# Let the simulation run and assert at every step T(mcbarostat) == T(integrator) == T(tempering)
for
i
in
range
(
100
0
):
for
i
in
range
(
100
):
st
.
step
(
2
)
self
.
assertEqual
(
st
.
temperatures
[
st
.
currentTemperature
],
integrator
.
getTemperature
())
self
.
assertEqual
(
st
.
temperatures
[
st
.
currentTemperature
],
simulation
.
context
.
getParameter
(
'MonteCarloTemperature'
)
*
kelvin
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment