Skip to content
Snippets Groups Projects
Commit a58471ff authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Clarify AddChain doc.

parent 4dbc8473
No related branches found
No related tags found
No related merge requests found
......@@ -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`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment