diff --git a/src/input.cpp b/src/input.cpp index b03034a8db..338e1b0f4d 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -1574,7 +1574,7 @@ void Input::labelmap() int ilmap = 0; std::string mapid; for (int i = 1; i < narg; i++) { - if (strcmp(arg[i],"map/assign") == 0) { + if (strcmp(arg[i],"mapID") == 0) { mapid = arg[i+1]; ilmap = atom->find_labelmap(mapid); if (ilmap == -1) ilmap = atom->add_label_map(mapid); diff --git a/src/write_data.cpp b/src/write_data.cpp index 22e66810d5..f8612c7072 100644 --- a/src/write_data.cpp +++ b/src/write_data.cpp @@ -96,7 +96,7 @@ void WriteData::command(int narg, char **arg) } else if (strcmp(arg[iarg],"nolabelmap") == 0) { lmapflag = 0; iarg++; - } else if (strcmp(arg[iarg],"types_style") == 0) { + } else if (strcmp(arg[iarg],"types") == 0) { if (iarg+2 > narg) error->all(FLERR,"Illegal write_data command"); if (strcmp(arg[iarg+1],"numeric") == 0) atom->types_style = Atom::NUMERIC; else if (strcmp(arg[iarg+1],"labels") == 0) atom->types_style = Atom::LABELS;