From c684f9214fac916ac2ecfb2257aa2961f368c430 Mon Sep 17 00:00:00 2001 From: Griffin <105008793+GuiLingfeng@users.noreply.github.com> Date: Mon, 27 Nov 2023 19:10:28 +0000 Subject: [PATCH] fixed the tree print issue (#1155) --- 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):