********> bugfix.71 Author: Bill Ross Date: 4/12/96 Programs: Carnal Severity: Moderate Problem: Lists of points in geometric measurements (DIST, ANGLE, TORSION) can fail if a group-based form is included, e.g. DIST dist H15 42 group1%center; .....................................^ Error in stdin line 28: Expected STREAM or STATIC id to bind atom name/res Last token was group1 Fix: Make the following change to util.c: ---------------------------------------------------------------------------- *** OLD util.c --- NEW util.c *************** *** 1272,1279 **** } else if (idptr->id_type == STATIC) { gettok(); set = getstatset(idptr); ! } else ! inerr("Expected STREAM or STATIC id to bind atom name/res", ""); #ifdef DBG printf("$$look up atom name in residue:\n"); --- 1272,1283 ---- } else if (idptr->id_type == STATIC) { gettok(); set = getstatset(idptr); ! } else { ! /* ! * something for the next item - use default stream ! */ ! set = firstser->idunion.ser.set; ! } #ifdef DBG printf("$$look up atom name in residue:\n"); ---------------------------------------------------------------------------- Temporary workarounds: define all single atoms as groups if using a group definition in a geometrical measurement --