ISISNeutronMuon / MDANSE

MDANSE: Molecular Dynamics Analysis for Neutron Scattering Experiments
https://www.isis.stfc.ac.uk/Pages/MDANSEproject.aspx
GNU General Public License v3.0
19 stars 4 forks source link

Fix pdb conversion #428

Closed ChiCheng45 closed 2 months ago

ChiCheng45 commented 2 months ago

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.