Added more suggested strategies to error message
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 4 Jun 2012 07:34:49 +0000 (17:34 +1000)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 4 Jun 2012 07:34:49 +0000 (17:34 +1000)
Change-Id: I4a68ea06697890175bb03e900664dd9bb886305c

src/kernel/pdb2top.c

index 98b5d13347601f7353edcff672f91b28219ce2f5..431dbeac19ad742e4d4e0ae514f02231397021d8 100644 (file)
@@ -1027,11 +1027,11 @@ void get_hackblocks_rtp(t_hackblock **hb, t_restp **restp,
 
     if (bRM && ((tern >= 0 && ntdb[tern] == NULL) ||
                 (terc >= 0 && ctdb[terc] == NULL))) {
-        gmx_fatal(FARGS,"There is a dangling bond at at least one of the terminal ends and the force field does not provide terminal entries or files. Edit a .n.tdb and/or .c.tdb file.");
+        gmx_fatal(FARGS,"There is a dangling bond at at least one of the terminal ends and the force field does not provide terminal entries or files. Fix your terminal residues so that they match the residue database (.rtp) entries, or provide terminal database entries (.tdb).");
     }
     if (bRM && ((tern >= 0 && ntdb[tern]->nhack == 0) ||
                 (terc >= 0 && ctdb[terc]->nhack == 0))) {
-        gmx_fatal(FARGS,"There is a dangling bond at at least one of the terminal ends. Select a proper terminal entry.");
+        gmx_fatal(FARGS,"There is a dangling bond at at least one of the terminal ends. Fix your coordinate file, add a new terminal database entry (.tdb), or select the proper existing terminal entry.");
     }
   }