-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with reading mol2 file and flattening the hierarchy #1206
Comments
CalCraven
changed the title
Issue with reading mol
Issue with reading mol2 file and flattening the hierarchy
Nov 13, 2024
x = compound_box.children[0].children
for particle in cpd1.particles():
print(particle.root.bond_graph)
compound_box = mb.packing.fill_box(compound=cpd1, n_compounds=5, density=0.3)
for particle in compound_box.particles():
print(particle.root.bond_graph) Outputs
So it's something to do with the fill_box not setting the root correctly |
Fixed by #1208 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug summary
Trying to fix an issue in GMSO with loading benzene molecules from different sources. The
print_hierarchy
method andchildren
attribute seem to raise an error whenever they're accessed.Code to reproduce the behavior
Please include a code snippet that can be used to reproduce this bug.
Output
Software versions
python -c "import mbuild as mb; print(mb.__version__)"
)1.0.0
python --version
)?3.11
MACOSX
The text was updated successfully, but these errors were encountered: