Skip to content
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

Weird artifacts when displaying gas phase molecules #586

Closed
danielhollas opened this issue Apr 11, 2024 · 2 comments · May be fixed by ispg-group/aiidalab-ispg#230
Closed

Weird artifacts when displaying gas phase molecules #586

danielhollas opened this issue Apr 11, 2024 · 2 comments · May be fixed by ispg-group/aiidalab-ispg#230

Comments

@danielhollas
Copy link
Contributor

Just noticed the following quirk in my app with the latest AWB

image

I suspect this might be due to the bond-drawing code added in 2.1? (I am still on 2.0)
I need to investigate more, since this happens only in certain scenarios, but I want to document this for now.

CC @cpignedoli @yakutovicha @superstar54 in case you saw something like this...

@danielhollas danielhollas added the bug Something isn't working label Apr 11, 2024
@superstar54
Copy link
Member

superstar54 commented Apr 11, 2024

It's actually not a bug. I guess you have a small unit cell with the periodic boundary condition (pbc). What's the unit cell of your molecule, I guess these weird bonds will disappear if you use a large unit cell, or switch off the pbc because it's a molecule.

@danielhollas danielhollas removed the bug Something isn't working label Apr 29, 2024
@danielhollas
Copy link
Contributor Author

@superstar54 your were right, thanks. I was a victim of a very strange behaviour of TrajectoryData, where it would by default assume PBC=(True, True,True) when converting to StructureData. I opened an issue here: aiidateam/aiida-core#6376

Here's a fix in my app:
ispg-group/aiidalab-ispg@d26297c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants