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
84fb7478
Commit
84fb7478
authored
4 years ago
by
Bienchen
Browse files
Options
Downloads
Patches
Plain Diff
Extend the documentation of InsertChain
parent
9153648f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/mol/base/doc/editors.rst
+12
-5
12 additions, 5 deletions
modules/mol/base/doc/editors.rst
with
12 additions
and
5 deletions
modules/mol/base/doc/editors.rst
+
12
−
5
View file @
84fb7478
...
...
@@ -51,14 +51,21 @@ The basic functionality of editors is implemented in the EditorBase class.
Inherited by :class:`XCSEditor`, :class:`ICSEditor`.
.. method:: InsertChain(chain_name)
.. method:: InsertChain(chain_name
[, chain, deep=false]
)
Add new chain to the entity
Add new chain to the entity
. Properties of :class:`ChainHandle` `chain` will be inherited, if provided.
:param chain_name: The chain's name. In the scope of an entity, chain names
are unique. If a chain of the same already exists an
IntegrityError is raised.
:type chain_name: string
are unique. If a chain of the same name already exists
an :class:`IntegrityError` is raised.
:type chain_name: :class:`string`
:param chain: The newly created chain will take over all generic
properties attached to this handle.
:type chain: :class:`ChainHandle`
:param deep: If set to true, all residues and atoms of `chain` will
be completely copied into the created chain. No bonds
and angles are added.
:type deep:
:returns: :class:`ChainHandle`
.. method:: AppendResidue(chain, residue_name, [res_num])
...
...
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