From 0b1c48e362765c2b34e55f337de1889119046777 Mon Sep 17 00:00:00 2001 From: Jennifer A Clark Date: Fri, 16 Aug 2024 13:42:16 -0400 Subject: [PATCH] Update mbuild/compound.py Co-authored-by: CalCraven <54594941+CalCraven@users.noreply.github.com> --- mbuild/compound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbuild/compound.py b/mbuild/compound.py index 915d284b1..ef5fe9339 100644 --- a/mbuild/compound.py +++ b/mbuild/compound.py @@ -1092,7 +1092,7 @@ def _check_if_empty(child): self.reset_labels() def reset_labels(self): - """Reset Compound labels so that substituents and ports are renumbered.""" + """Reset Compound labels so that substituents and ports are renumbered, indexed from port[0] to port[N], where N-1 is the number of ports.""" new_labels = OrderedDict() hoisted_children = { key: val