PEATSA/WebApp/Data.py
def mutation(self):
	
		'''Retrieves the scan mutation the job should perform.
		
		If no mutation has been set, or a mutation list has been set instead, this method return None'''
		
		if not self.exists():
			raise Exceptions.DatabaseRetrievalError, "Job Id %s does not exist in the database" % self.identification
	
		mutationData = None
		if not self.isMutationList():
			self.connection.commit()
			statement = """SELECT MutationData FROM %s WHERE JobID='%s' """ % (self.jobTable, self.identification)
			self.cursor.execute(statement)
			rows = self.cursor.fetchall()
			mutationData  = rows[0][0]

		return mutationData
Retrieves the scan mutation the job should perform.
		
		If no mutation has been set, or a mutation list has been set instead, this method return None
Retrieves the scan mutation the job should perform.
If no mutation has been set, or a mutation list has been set instead, this method return None
Retrieves the scan mutation the job should perform . If no mutation has been set or a mutation list has been set instead this method return None
def mutation(self):
		if not self.exists():
			raise Exceptions.DatabaseRetrievalError, "Job Id %s does not exist in the database" % self.identification
		mutationData = None
		if not self.isMutationList():
			self.connection.commit()
			statement = """SELECT MutationData FROM %s WHERE JobID='%s' """ % (self.jobTable, self.identification)
			self.cursor.execute(statement)
			rows = self.cursor.fetchall()
			mutationData  = rows[0][0]
		return mutationData
def mutation ( self ) : if not self . exists ( ) : raise Exceptions . DatabaseRetrievalError , "Job Id %s does not exist in the database" % self . identification mutationData = None if not self . isMutationList ( ) : self . connection . commit ( ) statement = """SELECT MutationData FROM %s WHERE JobID='%s' """ % ( self . jobTable , self . identification ) self . cursor . execute ( statement ) rows = self . cursor . fetchall ( ) mutationData = rows [ 0 ] [ 0 ] return mutationData
Retrieves the scan mutation the job should perform.
Retrieves the scan mutation the job should perform .
'''Retrieves the scan mutation the job should perform.
		
		If no mutation has been set, or a mutation list has been set instead, this method return None'''
self