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
eb8d56e0
Commit
eb8d56e0
authored
Jan 19, 2016
by
John Chodera (MSKCC)
Browse files
Minor fix for tests.
parent
bdf9cb95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wrappers/python/tests/TestForceField.py
wrappers/python/tests/TestForceField.py
+2
-2
No files found.
wrappers/python/tests/TestForceField.py
View file @
eb8d56e0
...
...
@@ -362,7 +362,7 @@ class TestForceField(unittest.TestCase):
# Check results.
self
.
assertEqual
(
len
(
unmatched_residues
),
1
)
self
.
assertEqual
(
unmatched_residues
[
0
].
name
,
'TMP'
)
self
.
assertEqual
(
unmatched_residues
[
0
].
id
,
163
)
self
.
assertEqual
(
unmatched_residues
[
0
].
id
,
'
163
'
)
# Load the PDB file.
pdb
=
PDBFile
(
os
.
path
.
join
(
'systems'
,
'ala_ala_ala.pdb'
))
...
...
@@ -374,7 +374,7 @@ class TestForceField(unittest.TestCase):
self
.
assertEqual
(
len
(
unmatched_residues
),
3
)
self
.
assertEqual
(
unmatched_residues
[
0
].
name
,
'ALA'
)
self
.
assertEqual
(
unmatched_residues
[
0
].
chain
,
'X'
)
self
.
assertEqual
(
unmatched_residues
[
0
].
id
,
1
)
self
.
assertEqual
(
unmatched_residues
[
0
].
id
,
'1'
)
def
test_getUniqueUnmatchedResidues
(
self
):
"""Test retrieval of list of residues for which no templates are available."""
...
...
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