From 3f1182b509fd5f606f0c2ad3cba70ede67a3dcee Mon Sep 17 00:00:00 2001 From: GuiLingfeng Date: Mon, 27 Nov 2023 16:14:09 +0000 Subject: [PATCH] fixed the tree print issue --- mbuild/compound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):