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
9b7c918d
Commit
9b7c918d
authored
5 years ago
by
Studer Gabriel
Browse files
Options
Downloads
Patches
Plain Diff
document functionality to access alternative atom groups in residue handles
parent
4a227181
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
+37
-0
37 additions, 0 deletions
modules/mol/base/doc/entity.rst
with
37 additions
and
0 deletions
modules/mol/base/doc/entity.rst
+
37
−
0
View file @
9b7c918d
...
...
@@ -698,6 +698,43 @@ The Handle Classes
name could be found, an invalid :class:`AtomHandle`
otherwise
.. method:: HasAltAtoms()
Returns whether the residue has any alternative atom groups
:rtype: :class:`bool`
.. method:: HasAltAtomGroup(group_name)
Returns whether the residue has a certain alternative atom group
:param group_name: Group of interest
:type group_name: :class:`str`
:rtype: :class:`bool`
.. method:: GetAltAtomGroupNames()
Returns names of all alternative atom groups in residue
:rtype: :class:`list` of :class:`str`
.. method:: GetCurrentAltGroupName()
Returns the currently active alternative atom group, empty
:class:`str` if residue has no alternative atom groups
:rtype: :class:`str`
.. method:: SwitchAtomPos(group_name)
Switches the atoms in residue to the specified alternative atom group
:param group_name: Group of interest
:type group_name: :class:`str`
:rtype: :class:`bool`
:returns: Whether the switch was successful (e.g. False if no such
group exists)
.. method:: GetAtomList()
See :attr:`atoms`
...
...
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