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
a58471ff
Commit
a58471ff
authored
5 years ago
by
Gerardo Tauriello
Browse files
Options
Downloads
Patches
Plain Diff
Clarify AddChain doc.
parent
4dbc8473
No related branches found
Branches containing commit
No related tags found
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/entity.rst
+4
-1
4 additions, 1 deletion
modules/mol/base/doc/entity.rst
with
4 additions
and
1 deletion
modules/mol/base/doc/entity.rst
+
4
−
1
View file @
a58471ff
...
...
@@ -1146,7 +1146,7 @@ The View Classes
v = pdb.CreateEmptyView()
v.AddChain(pdb.chains[0])
To
**copy** a whole chain
, go like:
To
get the chain with residues and atoms
, go like:
.. code-block:: python
...
...
@@ -1154,6 +1154,9 @@ The View Classes
v = pdb.CreateEmptyView()
v.AddChain(pdb.chains[0], ost.mol.INCLUDE_ALL)
Note that the view above still lacks bonds which can be added with the
:meth:`AddAllInclusiveBonds` method.
:param chain_handle: The chain handle to be added.
:type chain_handle: :class:`ChainHandle`
:param view_add_flags: An ORed together combination of :class:`ViewAddFlag`
...
...
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