-
Notifications
You must be signed in to change notification settings - Fork 663
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
LAMMPSParser cannot read DATA file with "pair ij" #3336
Comments
Can you please clarify what you need MDAnalysis to do? Does |
I have no experience with LAMMPS, but took a look at the code and docs. It seems that the LAMMPS parser has an incomplete set ( Additionally, the header "Pairs LJCoeffs" that is in the list of parseable sections does not seem (from some quick googling) to actually be a LAMMPS name. Maybe it was mistakenly included instead of "PairsIJ Coeffs"? In any case, even if this really is a wrong name in @richardjgowers might want to chip in further, as he was the last to touch that part of the code. In any case, updating the set of Incidentally, we don't seem to have any LAMMPS test files that use |
Yes, these are the force field coefficient written to the data file. I do not want to use them directly in my analysis; however, I want use the topology defined in the data file. |
Expected behavior
MDAnalysis recognizes both Pair Coeffs (the default pair ii setting in Lammps's write_data command) and PairIJ Coeffs (the pair ij setting Lammps's write_data command ) sections in a Lammps data file.
Actual behavior
Currently, MDAnalysis cannot recognize the PairIJ Coeffs. The MDAnalysis.topology.LAMMPSParser source code does not have a PairIJ Coeffs token in the list of the tokens defined by the variable SECTIONS.
Code to reproduce the behavior
Current version of MDAnalysis
coeffs_ii_default.data.txt
coeffs_ij.data.txt
The text was updated successfully, but these errors were encountered: