Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Validates the mutants defined by the list on a pdb file

Returns NO if there are problems and the dictionary errors contains the following keys
errorString - A string describing the validation problems.
errorList - A list continaing the mutation codes that failed validation

Raises Exceptions.FileFormatError if there is a problem with the pdb

src/p/e/PEATDB-2.3/PEATSA/Core/ProteinDesignTool.py   PEATDB(Download)
		#Validate - Will raise an exception if it fails
		errorData = {}
		if not object.validateOnPDB(pdbFile, errorData):
			raise Exceptions.MutationListValidationError, errorData["errorString"] 
		else: