biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge release-4-6 into release-5-0
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxpreprocess
/
readpull.c
diff --git
a/src/gromacs/gmxpreprocess/readpull.c
b/src/gromacs/gmxpreprocess/readpull.c
index 9f8b5769bcfec7d3f3e62898739ecb9ae64af694..aebd0d9e679e174678dc410085eb7d02f46dd270 100644
(file)
--- a/
src/gromacs/gmxpreprocess/readpull.c
+++ b/
src/gromacs/gmxpreprocess/readpull.c
@@
-252,6
+252,11
@@
void make_pull_groups(t_pull *pull,
{
pgrp = &pull->group[g];
+ if (strcmp(pgnames[g], "") == 0)
+ {
+ gmx_fatal(FARGS, "Group pull_group%d required by grompp was undefined.", g);
+ }
+
ig = search_string(pgnames[g], grps->nr, gnames);
pgrp->nat = grps->index[ig+1] - grps->index[ig];