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
6f290210
"openmmapi/vscode:/vscode.git/clone" did not exist on "cecc774ae43f64fb6a2fd936a76eb3351d3864c1"
Commit
6f290210
authored
Jul 05, 2014
by
John Chodera (MSKCC)
Browse files
Removed debug code from UTF-8 test to clean up.
parent
f1599c79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
wrappers/python/tests/TestBytes.py
wrappers/python/tests/TestBytes.py
+0
-6
No files found.
wrappers/python/tests/TestBytes.py
View file @
6f290210
...
@@ -24,12 +24,6 @@ class TestBytes(unittest.TestCase):
...
@@ -24,12 +24,6 @@ class TestBytes(unittest.TestCase):
assert
newPositions
==
refPositions
assert
newPositions
==
refPositions
# try encoding the checkpoint in utf-8. OpenMM should be able to handle this too
# try encoding the checkpoint in utf-8. OpenMM should be able to handle this too
# JDC: TRAVIS DEBUG BEGIN
print
"chk = "
print
chk
print
"chk.decode('utf-8') = "
print
chk
.
decode
(
'utf-8'
)
# JDC: TRAVIS DEBUG END
context
.
setPositions
([(
12345
,
12345
,
123451
)])
context
.
setPositions
([(
12345
,
12345
,
123451
)])
context
.
loadCheckpoint
(
chk
.
decode
(
'utf-8'
))
context
.
loadCheckpoint
(
chk
.
decode
(
'utf-8'
))
newPositions
=
context
.
getState
(
getPositions
=
True
).
getPositions
().
_value
newPositions
=
context
.
getState
(
getPositions
=
True
).
getPositions
().
_value
...
...
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