Skip to content

Commit

Permalink
Update mbuild/compound.py
Browse files Browse the repository at this point in the history
Co-authored-by: CalCraven <54594941+CalCraven@users.noreply.github.com>
  • Loading branch information
jaclark5 and CalCraven authored Aug 16, 2024
1 parent 61a806a commit 0b1c48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mbuild/compound.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b1c48e

Please sign in to comment.