PEATSA/WebApp/Data.py
def state(self):
	
		'''Returns the jobs state
		
		See setState() for more information.
		Use calculationState() to get more detailed information
		on  the status of the component calculations'''
		
		if not self.exists():
			raise Exceptions.DatabaseRetrievalError, "Job Id %s does not exist in the database" % self.identification
		
		self.connection.commit()
		selectQuery = """SELECT State FROM %s WHERE JobID='%s'""" % (self.jobTable, self.identification)
		self.cursor.execute(selectQuery)		
		rows = self.cursor.fetchall()
		
		return rows[0][0]
Returns the jobs state
		
		See setState() for more information.
		Use calculationState() to get more detailed information
		on  the status of the component calculations
Returns the jobs state
See setState() for more information.
Use calculationState() to get more detailed information
on  the status of the component calculations
Returns the jobs state See setState () for more information . Use calculationState () to get more detailed information on the status of the component calculations
def state(self):
		if not self.exists():
			raise Exceptions.DatabaseRetrievalError, "Job Id %s does not exist in the database" % self.identification
		self.connection.commit()
		selectQuery = """SELECT State FROM %s WHERE JobID='%s'""" % (self.jobTable, self.identification)
		self.cursor.execute(selectQuery)		
		rows = self.cursor.fetchall()
		return rows[0][0]
def state ( self ) : if not self . exists ( ) : raise Exceptions . DatabaseRetrievalError , "Job Id %s does not exist in the database" % self . identification self . connection . commit ( ) selectQuery = """SELECT State FROM %s WHERE JobID='%s'""" % ( self . jobTable , self . identification ) self . cursor . execute ( selectQuery ) rows = self . cursor . fetchall ( ) return rows [ 0 ] [ 0 ]
Returns the jobs state
See setState() for more information.
Returns the jobs state See setState () for more information .
'''Returns the jobs state
		
		See setState() for more information.
		Use calculationState() to get more detailed information
		on  the status of the component calculations'''
self