Skip to content

Commit

Permalink
change remaining verbose to check_box_size
Browse files Browse the repository at this point in the history
  • Loading branch information
daico007 committed Oct 19, 2023
1 parent 69eb1ad commit 60f400e
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 @@ -894,7 +894,7 @@ def add(
child,
label=label_list[i],
reset_rigid_ids=reset_rigid_ids,
verbose=False,
check_box_size=False,
)
else:
self.add(
Expand Down Expand Up @@ -1003,7 +1003,7 @@ def add(
)

# Check that bounding box is within box after adding compound
if self.box and verbose:
if self.box and check_box_size:
if (
np.array(self.box.lengths)
< np.array(self.get_boundingbox().lengths)
Expand Down

0 comments on commit 60f400e

Please sign in to comment.