PEATSA/Core/Data.py
def addMutationCode(self, mutationCode):
	
		'''Adds the mutation represented by mutationCode to the receiver.
		
		The mutation can be in any format
		
		Errors:
			Raises an Exceptions.MutationCodeFormatError if there is a problem with the code'''

		extended = Utilities.IsExtendedMutationFormat(mutationCode)
	
		try:
			if Utilities.IsReducedCode(mutationCode):
				mutationCode = Utilities.ConvertMutationCodeFromReducedFormat(mutationCode, extended)
		
			data = Utilities.ParseMutationCode(mutationCode)
			self.addMutation(chain=data[0], residueIndex=data[1], mutation=data[-1])
		except Exception, data:
			raise Exceptions.MutationCodeFormatError, "Unable to parse mutation code - %s." % mutationCode
Adds the mutation represented by mutationCode to the receiver.
		
		The mutation can be in any format
		
		Errors:
			Raises an Exceptions.MutationCodeFormatError if there is a problem with the code
Adds the mutation represented by mutationCode to the receiver.
The mutation can be in any format

Raises an Exceptions.MutationCodeFormatError if there is a problem with the code
Adds the mutation represented by mutationCode to the receiver . The mutation can be in any format Raises an Exceptions . MutationCodeFormatError if there is a problem with the code
def addMutationCode(self, mutationCode):
		extended = Utilities.IsExtendedMutationFormat(mutationCode)
		try:
			if Utilities.IsReducedCode(mutationCode):
				mutationCode = Utilities.ConvertMutationCodeFromReducedFormat(mutationCode, extended)
			data = Utilities.ParseMutationCode(mutationCode)
			self.addMutation(chain=data[0], residueIndex=data[1], mutation=data[-1])
		except Exception, data:
			raise Exceptions.MutationCodeFormatError, "Unable to parse mutation code - %s." % mutationCode
def addMutationCode ( self , mutationCode ) : extended = Utilities . IsExtendedMutationFormat ( mutationCode ) try : if Utilities . IsReducedCode ( mutationCode ) : mutationCode = Utilities . ConvertMutationCodeFromReducedFormat ( mutationCode , extended ) data = Utilities . ParseMutationCode ( mutationCode ) self . addMutation ( chain = data [ 0 ] , residueIndex = data [ 1 ] , mutation = data [ - 1 ] ) except Exception , data : raise Exceptions . MutationCodeFormatError , "Unable to parse mutation code - %s." % mutationCode
Adds the mutation represented by mutationCode to the receiver.
Adds the mutation represented by mutationCode to the receiver .
'''Adds the mutation represented by mutationCode to the receiver.
		
		The mutation can be in any format
		
		Errors:
			Raises an Exceptions.MutationCodeFormatError if there is a problem with the code'''
self
mutationCode