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
b2ac07ad
Commit
b2ac07ad
authored
Apr 24, 2013
by
Peter Eastman
Browse files
Improved documentation for loadBondDefinitions()
parent
77e2ddf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
wrappers/python/simtk/openmm/app/topology.py
wrappers/python/simtk/openmm/app/topology.py
+3
-1
No files found.
wrappers/python/simtk/openmm/app/topology.py
View file @
b2ac07ad
...
...
@@ -140,7 +140,9 @@ class Topology(object):
The built in residues.xml file containing definitions for standard amino acids and nucleotides is loaded automatically.
This method can be used to load additional definitions for other residue types. They will then be used in subsequent
calls to createStandardBonds().
calls to createStandardBonds(). This is a static method, so it affects subsequent calls on all Topology objects.
Also note that PDBFile calls createStandardBonds() automatically when a file is loaded, so the newly loaded definitions
will be used for any PDB file loaded after this is called.
"""
tree
=
etree
.
parse
(
file
)
for
residue
in
tree
.
getroot
().
findall
(
'Residue'
):
...
...
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