incorrect arg for pair coeffs

Dear lammps users,

I tried this command earlier and it worked for 100 atoms, but now when I have 1000, I get the "incorrect arguments for pair coefficients" error:

pair_style hybrid lj/cut 1.12246152962189 morse 2.5
pair_modify shift yes
pair_coeff 1 1 lj/cut 1.0 1.0
pair_coeff 1 2 lj/cut 1.0 1.0
pair_coeff 2 2 morse 100 2 1

Thank you for your time.

Anna

Dear lammps users,

I tried this command earlier and it worked for 100 atoms, but now when I
have 1000, I get the "incorrect arguments for pair coefficients" error:

sorry, but this _cannot_ depend on the number of atoms.

pair_style hybrid lj/cut 1.12246152962189 morse 2.5
pair_modify shift yes
pair_coeff 1 1 lj/cut 1.0 1.0
pair_coeff 1 2 lj/cut 1.0 1.0
pair_coeff 2 2 morse 100 2 1

try using:
pair_coeff 2 2 morse 100.0 2.0 1.0

and if that doesn't help please check that
you don't have any unwanted "invisible" characters
in your input. if you transfer files between windows
and unix in binary and not textmode, for example,
you may have something else as input than what you see.

cheers,
    axel.