Previously, pdb2gmx complained that the residue was
not available as a 'starting' terminus for isolated
residues (usually zwitterions). This is really confusing
when starting terminus residuetypes ARE available. Now
we properly explain there is no type to use the residue
isolated.
Change-Id: I0c9c8328f12e75a5a7ffaa8ea894ff46f8fdfe75
{
nn = rr[i].main;
}
+
if (nn[0] == '-')
{
- gmx_fatal(FARGS,"In the chosen force field there is no residue type for '%s'%s",name,bStart ? " as a starting terminus" : (bEnd ? " as an ending terminus" : ""));
+ gmx_fatal(FARGS,"In the chosen force field there is no residue type for '%s'%s",name,bStart ? ( bEnd ? " as a standalone (starting & ending) residue" : " as a starting terminus") : (bEnd ? " as an ending terminus" : ""));
}
}