diff --git a/mbuild/compound.py b/mbuild/compound.py index da3a5f47e..30d2f27f7 100644 --- a/mbuild/compound.py +++ b/mbuild/compound.py @@ -362,7 +362,7 @@ def print_hierarchy(self, print_full=False, index=None, show_tree=True): f"{h['parent_id']}", ) if show_tree: - tree.show() + print(tree) return tree def _get_hierarchy(self, level=0):