Mapping of atoms in SET command

Dear Steve & LAMMPS user,

I was trying to use set command (and found a small bug, looks to be be, if i am doing the things correctly). I am using LAMMPS 2011 (July) version.

In the CASE-1, The dump file writes properly, whereas in the CASE-II, the mapping of atom type is not done correct and hence, it writes only atom type 2 for all the atoms (checked in dump file even via visualize it in VMD). Looks to be problem in mapping of atoms.

Dear Steve & LAMMPS user,

I was trying to use set command (and found a small bug, looks to be be, if i am doing the things correctly). I am using LAMMPS 2011 (July) version.

when reporting a potential bug, please always first
test with the latest version. the problem may already
have been fixed.

In the CASE-1, The dump file writes properly, whereas in the CASE-II, the mapping of atom type is not done correct and hence, it writes only atom type 2 for all the atoms (checked in dump file even via visualize it in VMD). Looks to be problem in mapping of atoms.

please always produce a complete test case.
from these little pieces it is impossible to tell
whether you are having a problem elsewhere
in your input. as a general rule. the easier you
make it to reproduce your problem, the higher
the chance, that somebody is taking the time
to look into this. the more effort it make simply
to verify that there is a bug, the less of a chance
do you have that somebody will follow up.

thanks for your consideration,
axel.