From a58471ffc602013c4dd97d3d39b40278319840c3 Mon Sep 17 00:00:00 2001 From: Gerardo Tauriello <gerardo.tauriello@unibas.ch> Date: Thu, 4 Jul 2019 19:09:22 +0200 Subject: [PATCH] Clarify AddChain doc. --- modules/mol/base/doc/entity.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/mol/base/doc/entity.rst b/modules/mol/base/doc/entity.rst index 05a4bac2a..fd99d80cc 100644 --- a/modules/mol/base/doc/entity.rst +++ b/modules/mol/base/doc/entity.rst @@ -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` -- GitLab