mosdef-hub / mbuild

A hierarchical, component based molecule builder
https://mbuild.mosdef.org
Other
171 stars 79 forks source link

New treelib (1.7) mess up the print_hierarchy output #1143

Closed daico007 closed 9 months ago

daico007 commented 1 year ago

Bug summary

With the new treelib v1.7, the Compound.print_hierarchy is giving out different output (comparing to the last version v1.6.4), which is a bit off putting. We need to update the method to keep up with the new change.

Code to reproduce the behavior v1.6.4 (expected)

Screenshot 2023-08-28 at 00 41 07

v1.7.0

Screenshot 2023-08-28 at 00 40 33

Software versions