From 3c4d607d6c0fb1bb7ec6141afff50b7f353d8557 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 8f0ecfae42d..ab8ba30a9ac 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 -------