[go: up one dir, main page]

Skip to content

Gromacs .gro file read format error

according to manual from gromacs [https://manual.gromacs.org/documentation/2018/user-guide/file-formats.html#gro], .gro format is

residue number (5 positions, integer)
residue name (5 characters)
atom name (5 characters)
atom number (5 positions, integer)
position (in nm, x y z in 3 columns, each 8 positions with 3 decimal places)
velocity (in nm/ps (or km/s), x y z in 3 columns, each 8 positions with 4 decimal places)

but read_gromacs function in ase/io/gromacs.py gives 0:5, 5:11, 11:15, 15:20 segmentation, [https://gitlab.com/ase/ase/-/blob/master/ase/io/gromacs.py#L39]

I think there is an error but I'm not sure. Should we fix it?