Skip to content

Commit

Permalink
fixed the tree print issue (#1155)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiLingfeng authored Nov 27, 2023
1 parent 9499a8c commit c684f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mbuild/compound.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c684f92

Please sign in to comment.