Conversation
skfegan
left a comment
There was a problem hiding this comment.
This should improve the robustness when handling different file types and topology restraints.
The only request is to add a unit test to test_mda_universe_operations.py for the convert_lammps function.
harryswift01
left a comment
There was a problem hiding this comment.
This looks really good overall, the LAMMPSDUMP handling is nice and clear, and the fallback logic is a good touch. Tests are solid too, especially capturing the transformation and checking the scaling directly rather than relying on a real MDA universe.
I've just left a couple of small comments to tidy things up, but nothing major. Once those are addressed I’m happy with this.
|
FYI: MDA issue for dealing with LAMMPSDUMP unit conversion bug is still open: MDAnalysis/mdanalysis#5115 |
harryswift01
left a comment
There was a problem hiding this comment.
This is a really nice, tidy addition that should allow LAMMPS files to be used correctly within CodeEntropy. Happy with the approach and the test coverage, thank you for adding this in
Summary
Include functionality to run CE on LAMMPSDUMPS files. Currently MDA does not automatically convert force units from kcal to kJ, so this has to be done when the MDA Universe is created.
Changes
Read in LAMMPSDUMP file:
c_5andc_7in CE.Handle extra bonds to H atoms:
inferrer=Noneto deal with this in symmetry calcsImpact