Skip to content

Commit

Permalink
Further clarified is_group in TopologyAttrContainer.subclass
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed Dec 6, 2017
1 parent b9db71d commit 3c4d607
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package/MDAnalysis/core/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ def _subclass(cls, is_group):
----------
is_group : bool
The :attr:`_is_group` of the returned class will be set to
*is_group*. It controls the type of :class:`TopologyAttr` addition.
*is_group*. This is used to distinguish between Groups (AtomGroup
etc.) and Components (Atom etc.) in internal methods when
considering actions such as addition between objects, adding
TopologyAttributes to them.
Returns
-------
Expand Down

0 comments on commit 3c4d607

Please sign in to comment.