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
ae0ad5c9
Commit
ae0ad5c9
authored
Jan 21, 2016
by
jchodera
Browse files
Fix typo in test.
parent
15d1b5fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/tests/TestForceField.py
wrappers/python/tests/TestForceField.py
+1
-1
No files found.
wrappers/python/tests/TestForceField.py
View file @
ae0ad5c9
...
@@ -441,7 +441,7 @@ class TestForceField(unittest.TestCase):
...
@@ -441,7 +441,7 @@ class TestForceField(unittest.TestCase):
# Get list of matching residue templates.
# Get list of matching residue templates.
templates
=
forcefield
.
getMatchingTemplates
(
pdb
.
topology
)
templates
=
forcefield
.
getMatchingTemplates
(
pdb
.
topology
)
# Check results.
# Check results.
residues
=
[
residue
for
residue
in
topology
.
residues
()
]
residues
=
[
residue
for
residue
in
pdb
.
topology
.
residues
()
]
self
.
assertEqual
(
len
(
templates
),
len
(
residues
))
self
.
assertEqual
(
len
(
templates
),
len
(
residues
))
self
.
assertEqual
(
unmatched_residues
[
0
].
name
,
'NALA'
)
self
.
assertEqual
(
unmatched_residues
[
0
].
name
,
'NALA'
)
self
.
assertEqual
(
unmatched_residues
[
1
].
name
,
'ALA'
)
self
.
assertEqual
(
unmatched_residues
[
1
].
name
,
'ALA'
)
...
...
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