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

Filter out explosion frames in narupa.mdanalysis.universe #26

Closed
jbarnoud opened this issue Oct 12, 2023 · 1 comment · Fixed by #28
Closed

Filter out explosion frames in narupa.mdanalysis.universe #26

jbarnoud opened this issue Oct 12, 2023 · 1 comment · Fixed by #28

Comments

@jbarnoud
Copy link
Collaborator

When reading a trajectory in an MDAnalysis universe, frames describing an explosion can be problematic as they can contain NaNs. This would break some analyses, but most importantly, it crashes VMD when the trajectory is converted to a format that VMD can read. A solution is to exclude the frames with NaNs from the Universe.

@jbarnoud
Copy link
Collaborator Author

After further investigation, an exploding trajectory can also break the libxdr, preventing writing an xtc file. This does not require any non-finite value, instead, it seems that large displacements are the issue causing the libxdr to complain:

Internal overflow compressing coordinates.

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.

1 participant