From f8184db2f5e1f8655e56ac2492abe8a95f56aa1b Mon Sep 17 00:00:00 2001 From: Richard Gowers Date: Wed, 6 Dec 2017 11:47:12 +0000 Subject: [PATCH] Further clarified is_group in TopologyAttrContainer.subclass --- package/MDAnalysis/core/groups.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/MDAnalysis/core/groups.py b/package/MDAnalysis/core/groups.py index 13b24678cbb..d592ada617a 100644 --- a/package/MDAnalysis/core/groups.py +++ b/package/MDAnalysis/core/groups.py @@ -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 -------