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

Improve unit cell detection for charmm trajectory (dcd) files #1064

Merged
merged 9 commits into from
Jan 24, 2024

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Jan 23, 2024

Version 6.23.0.

Charmm trajectories can contain unit cell information as the symmetric shape matrix (charmm versions >= 22), an alternative form of the shape matrix that NAMD/VMD write, or X-aligned unit cell parameters (X Y Z alpha beta gamma), which was written by charmm versions < 22. Previously cpptraj used the version number in the charmm trajectory file to determine how the box was stored. This PR adds some heuristics to try to figure out what kind of unit cell is present no matter what the version number says, which should be more robust. Updates the manual.

This PR also improves the robustness of reading CHARMM restart files.

@drroe drroe self-assigned this Jan 23, 2024
@drroe drroe merged commit a006bb7 into Amber-MD:master Jan 24, 2024
12 of 13 checks passed
@drroe drroe deleted the fix.dcd branch January 24, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant