Skip to content

Commit

Permalink
Update default Comound.remove(reset_labels=False)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclark5 committed Aug 19, 2024
1 parent 8649337 commit d7a6bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbuild/compound.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,14 +1015,14 @@ def add(
"outside of the defined simulation box"
)

def remove(self, objs_to_remove, reset_labels=True):
def remove(self, objs_to_remove, reset_labels=False):
"""Remove children from the Compound cleanly.
Parameters
----------
objs_to_remove : mb.Compound or list of mb.Compound
The Compound(s) to be removed from self
reset_labels : bool
reset_labels : bool, optional, default=False
If True, the Compound labels will be reset
"""
# Preprocessing and validating input type
Expand Down

0 comments on commit d7a6bff

Please sign in to comment.