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

Fix pdb conversion #428

Merged
merged 3 commits into from
Apr 30, 2024
Merged

Fix pdb conversion #428

merged 3 commits into from
Apr 30, 2024

Conversation

ChiCheng45
Copy link
Collaborator

@ChiCheng45 ChiCheng45 commented Apr 29, 2024

Description of work
Fix residue mapping so that it allows for a many-to-many map. Basically, in some cases, a residue could map to many different codes e.g. HIS could be HID, HIE or HIP. Updated MDANSE so that residues_alt_names.json can be updated for these cases. Basically, MDANSE will now check all codes in residues_alt_names.json to get the correct residue.

Fixes
Fixes #311

To test
Unittest should all pass. Try running the gromacs conversion with adk_oplsaa and cobrotoxin, they should convert without any issues.

Copy link
Collaborator

@MBartkowiakSTFC MBartkowiakSTFC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The conversion worked, and all the tests passed.

@MBartkowiakSTFC MBartkowiakSTFC merged commit 3694932 into protos Apr 30, 2024
84 checks passed
@MBartkowiakSTFC MBartkowiakSTFC deleted the chi/pdb-fix branch April 30, 2024 09:00
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 this pull request may close these issues.

[BUG] GROMACS trajectory conversion failure with files from MDANSE-Examples
2 participants