Skip to content

Commit

Permalink
Add examples of selecting groups from other groups
Browse files Browse the repository at this point in the history
* Fixes issue #100
* adds examples of selecting residues from each segment, or atoms from each residue
  • Loading branch information
mieczyslaw authored and lilyminium committed Jan 21, 2022
1 parent fef611e commit 6514248
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Chronological list of authors
- Yuxuan Zhuang
- Mieczyslaw Torchala
2021
- Paul Smith
- Paul Smith
3 changes: 3 additions & 0 deletions doc/source/groups_of_atoms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ Use case: Atoms list grouped by residues
In order to list all the heavy protein backbone and sidechain atoms in every residue, one needs to call:

.. ipython:: python
<<<<<<< HEAD
:okwarning:
=======
>>>>>>> 6fbcdd6 (Add examples of selecting groups from other groups)

atoms_in_residues = list()
for seg in u.segments:
Expand Down

0 comments on commit 6514248

Please sign in to comment.