Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
fad45b23
Unverified
Commit
fad45b23
authored
2 years ago
by
Xavier Robin
Browse files
Options
Downloads
Patches
Plain Diff
doc: SCHWED-5783 document deep on AppendResidue
parent
62472a4f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/mol/base/doc/editors.rst
+7
-1
7 additions, 1 deletion
modules/mol/base/doc/editors.rst
with
7 additions
and
1 deletion
modules/mol/base/doc/editors.rst
+
7
−
1
View file @
fad45b23
...
@@ -69,15 +69,21 @@ The basic functionality of editors is implemented in the EditorBase class.
...
@@ -69,15 +69,21 @@ The basic functionality of editors is implemented in the EditorBase class.
:returns: :class:`ChainHandle`
:returns: :class:`ChainHandle`
.. method:: AppendResidue(chain, residue_name, [res_num])
.. method:: AppendResidue(chain, residue_name, [res_num])
AppendResidue(chain, residue_name, deep=False)
Append residue to the end of the chain. If res_num is not given, the
Append residue to the end of the chain. If res_num is not given, the
residue number will be set to the residue number of the last added residue
residue number will be set to the residue number of the last added residue
plus one. The insertion code is the same.
plus one. The insertion code is the same.
By default, atoms and bonds are not added. If deep is `True`, atoms (but
not bonds) are added to the new residue, including alternative atoms.
:param chain: Must be a valid chain
:param chain: Must be a valid chain
:type chain: :class:`ChainHandle`
:type chain: :class:`ChainHandle`
:param residue_name: 3-letter-code of the residue, e.g. ``GLY``.
:param residue_name: 3-letter-code of the residue, e.g. ``GLY``.
:type residue_name: string
:type residue_name: :class:`string`
:param deep: If set to true, insert atoms as well.
:type deep: :class:`bool`
:returns: :class:`ResidueHandle`
:returns: :class:`ResidueHandle`
.. method:: RenameResidue(residue, new_name)
.. method:: RenameResidue(residue, new_name)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment