X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fgmxana%2Fgmx_editconf.c;h=abe79cb071fbe1d88efcc0525130e13c2f735e20;hb=b2b75d45c43c98cf1362e0125381bfc6f0a85782;hp=c710ecfd1587ab6adbfd6d034f291453e88f00e0;hpb=cb466e44535ac45f2ee8341dcae39207b5813abe;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/gmxana/gmx_editconf.c b/src/gromacs/gmxana/gmx_editconf.c index c710ecfd15..abe79cb071 100644 --- a/src/gromacs/gmxana/gmx_editconf.c +++ b/src/gromacs/gmxana/gmx_editconf.c @@ -793,11 +793,9 @@ int gmx_editconf(int argc, char *argv[]) gmx_fatal(FARGS, "Output file should be a .pdb file" " when using the -grasp option\n"); } - if ((bMead || bGrasp) && !((fn2ftp(infile) == efTPR) || - (fn2ftp(infile) == efTPA) || - (fn2ftp(infile) == efTPB))) + if ((bMead || bGrasp) && (fn2ftp(infile) != efTPR)) { - gmx_fatal(FARGS, "Input file should be a .tp[abr] file" + gmx_fatal(FARGS, "Input file should be a .tpr file" " when using the -mead option\n"); }