********>Bugfix 2: Author: Dave Case Date: 3/7/02 Programs: tleap,xleap Severity: minor Description: LEaP may crash if an unknown hybridization is present in the leaprc file. Fix: apply the following patch to amber7/src/leap/src/leap/amber.c: ------------------------------------------------------------------------------ *** amber.c 2001/08/02 15:02:38 7.14 --- amber.c 2002/03/08 00:23:49 *************** *** 1446,1452 **** tTypeInfo.iHybridization = HSP3; else { VP0(( "atom type %s - unknown hybridization %s\n", ! sOString( oEntry2 ) )); continue; } } else if ( iObjectType(oEntry2) == OINTEGERid ) { --- 1446,1452 ---- tTypeInfo.iHybridization = HSP3; else { VP0(( "atom type %s - unknown hybridization %s\n", ! tTypeInfo.sType, sOString( oEntry2 ) )); continue; } } else if ( iObjectType(oEntry2) == OINTEGERid ) { ------------------------------------------------------------------------------ Temporary workarounds: don't use leaprc files with bad hybridizations :-) Files affected: amber7/src/leap/src/leap/amber.c