raiseValueError('No template found for residue %d (%s). This might mean your input topology is missing some atoms or bonds, or possibly that you are using the wrong force field.'%(res.index+1,res.name))
raiseValueError('No template found for residue %d (%s). %s'%(res.index+1,res.name,_findMatchErrors(self,res)))
foratom,matchinzip(res.atoms(),matches):
data.atomType[atom]=template.atoms[match].type
forsiteintemplate.virtualSites:
...
...
@@ -461,8 +461,8 @@ class ForceField(object):
returnsys
def_createResidueSignature(elements):
"""Create a signature for a residue based on the elements of the atoms it contains."""
def_countResidueAtoms(elements):
"""Count the number of atoms of each element in a residue."""