[lammps-users] restart2data and lj/cut/opt pair style

There seems to be a small bug.
The restart2data tool fails to work with the restart files saved from the run with lj/cut/opt pair style.
The output is
$ restart2data restart restart.data
Reading restart file ...
ERROR: Pair coeff 1,1 is not in restart file

If the basic lj/cut pair style is used - it works just fine.

I use the newest LAMMPS version (the 23Jan09 update).


Posted a patch for this - please try it out.