PEATSA/WebApp/Data.py
def allJobIds(self):
	
		'''Returns the identifications of all the jobs in this run'''
		
		#Check the job entry exists in the database
		query = "SELECT JobID FROM %s WHERE RunID = '%s'" % (self.jobAssocTable, self.identification)
		self.cursor.execute(query)
		rows = self.cursor.fetchall()
		
		if len(rows) != 0:
			return [row[0] for row in rows]
		else:
			return []
Returns the identifications of all the jobs in this run
Returns the identifications of all the jobs in this run
Returns the identifications of all the jobs in this run
def allJobIds(self):
		query = "SELECT JobID FROM %s WHERE RunID = '%s'" % (self.jobAssocTable, self.identification)
		self.cursor.execute(query)
		rows = self.cursor.fetchall()
		if len(rows) != 0:
			return [row[0] for row in rows]
		else:
			return []
def allJobIds ( self ) : query = "SELECT JobID FROM %s WHERE RunID = '%s'" % ( self . jobAssocTable , self . identification ) self . cursor . execute ( query ) rows = self . cursor . fetchall ( ) if len ( rows ) != 0 : return [ row [ 0 ] for row in rows ] else : return [ ]
Returns the identifications of all the jobs in this run
Returns the identifications of all the jobs in this run
'''Returns the identifications of all the jobs in this run''' #Check the job entry exists in the database
self