raiseValueError('No template found for residue %d (%s)'%(res.index+1,res.name))
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))