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
9f6bd494
Commit
9f6bd494
authored
Mar 06, 2017
by
peastman
Committed by
GitHub
Mar 06, 2017
Browse files
Merge pull request #1759 from peastman/deldcd
Fixed test failure on Windows
parents
9ae41c1f
f1e31c1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
wrappers/python/tests/TestDcdFile.py
wrappers/python/tests/TestDcdFile.py
+3
-0
No files found.
wrappers/python/tests/TestDcdFile.py
View file @
9f6bd494
...
...
@@ -47,6 +47,7 @@ class TestDCDFile(unittest.TestCase):
simulation
.
step
(
10
)
self
.
assertEqual
(
5
,
dcd
.
_dcd
.
_modelCount
)
del
simulation
del
dcd
len1
=
os
.
stat
(
fname
).
st_size
# Create a new simulation and have it append some more frames.
...
...
@@ -61,6 +62,8 @@ class TestDCDFile(unittest.TestCase):
self
.
assertEqual
(
10
,
dcd
.
_dcd
.
_modelCount
)
len2
=
os
.
stat
(
fname
).
st_size
self
.
assertTrue
(
len2
-
len1
>
3
*
4
*
5
*
system
.
getNumParticles
())
del
simulation
del
dcd
os
.
remove
(
fname
)
...
...
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