{
binaryName.erase(0, 2);
}
+ if (binaryName.compare(0, 3, "gmx") == 0)
+ {
+ binaryName.erase(0, 3);
+ }
return findModuleByName(binaryName);
}
* VERSION 3.2.0
* Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
- * Copyright (c) 2001-2004, The GROMACS development team,
+ * Copyright (c) 2001-2013, The GROMACS development team,
* check out http://www.gromacs.org for more information.
* This program is free software; you can redistribute it and/or
int gmx_gmxcheck(int argc, char *argv[])
{
const char *desc[] = {
- "[TT]gmxcheck[tt] reads a trajectory ([TT].trj[tt], [TT].trr[tt] or ",
+ "[TT]gmx check[tt] reads a trajectory ([TT].trj[tt], [TT].trr[tt] or ",
"[TT].xtc[tt]), an energy file ([TT].ene[tt] or [TT].edr[tt])",
"or an index file ([TT].ndx[tt])",
"and prints out useful information about them.[PAR]",
"the program will check whether the bond lengths defined in the tpr",
"file are indeed correct in the trajectory. If not you may have",
"non-matching files due to e.g. deshuffling or due to problems with",
- "virtual sites. With these flags, [TT]gmxcheck[tt] provides a quick check for such problems.[PAR]",
+ "virtual sites. With these flags, [TT]gmx check[tt] provides a quick check for such problems.[PAR]",
"The program can compare two run input ([TT].tpr[tt], [TT].tpb[tt] or",
"[TT].tpa[tt]) files",
"when both [TT]-s1[tt] and [TT]-s2[tt] are supplied.",
* VERSION 3.2.0
* Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
- * Copyright (c) 2001-2004, The GROMACS development team,
+ * Copyright (c) 2001-2013, The GROMACS development team,
* check out http://www.gromacs.org for more information.
* This program is free software; you can redistribute it and/or
real rav, minthird;
char buf[22];
- printf("gmxdump: %s\n", fn);
+ printf("gmx dump: %s\n", fn);
in = open_enx(fn, "r");
do_enxnms(in, &nre, &enm);
assert(enm);
int gmx_gmxdump(int argc, char *argv[])
{
const char *desc[] = {
- "[TT]gmxdump[tt] reads a run input file ([TT].tpa[tt]/[TT].tpr[tt]/[TT].tpb[tt]),",
+ "[TT]gmx dump[tt] reads a run input file ([TT].tpa[tt]/[TT].tpr[tt]/[TT].tpb[tt]),",
"a trajectory ([TT].trj[tt]/[TT].trr[tt]/[TT].xtc[tt]), an energy",
"file ([TT].ene[tt]/[TT].edr[tt]), or a checkpoint file ([TT].cpt[tt])",
"and prints that to standard output in a readable format.",
void registerLegacyModules(gmx::CommandLineModuleManager *manager)
{
// Modules from this directory (were in src/kernel/).
- registerModule(manager, &gmx_gmxcheck, "gmxcheck",
+ registerModule(manager, &gmx_gmxcheck, "check",
"Check and compare files");
- registerModule(manager, &gmx_gmxdump, "gmxdump",
+ registerModule(manager, &gmx_gmxdump, "dump",
"Make binary files human readable");
registerModule(manager, &gmx_grompp, "grompp",
"Make a run input file");