PEATSA/WebApp/Data.py
def optionArguments(self):
	
		'''Returns the option arguments dictionary associated with the job.
		
		This dictionaries keys are command line option switches and values are the corresponding values.
		Note: This are NON file arguments i.e. they must not refer to a specific file or location.		
		
		If no option arguments were associated with the job this method returns None'''
		
		if not self.exists():
			raise Exceptions.DatabaseRetrievalError, "Job Id %s does not exist in the database" % self.identification
		
		self.connection.commit()
		selectQuery = """SELECT OptionArguments FROM %s WHERE JobID='%s'""" % (self.jobTable, self.identification)
		self.cursor.execute(selectQuery)		
		rows = self.cursor.fetchall()
		
		data = rows[0][0]
		dict = UnserializeDictionary(data)
		
		return dict
Returns the option arguments dictionary associated with the job.
		
		This dictionaries keys are command line option switches and values are the corresponding values.
		Note: This are NON file arguments i.e. they must not refer to a specific file or location.		
		
		If no option arguments were associated with the job this method returns None
Returns the option arguments dictionary associated with the job.
This dictionaries keys are command line option switches and values are the corresponding values.
Note: This are NON file arguments i.e. they must not refer to a specific file or location.

If no option arguments were associated with the job this method returns None
Returns the option arguments dictionary associated with the job . This dictionaries keys are command line option switches and values are the corresponding values . Note : This are NON file arguments i . e . they must not refer to a specific file or location . If no option arguments were associated with the job this method returns None
def optionArguments(self):
		if not self.exists():
			raise Exceptions.DatabaseRetrievalError, "Job Id %s does not exist in the database" % self.identification
		self.connection.commit()
		selectQuery = """SELECT OptionArguments FROM %s WHERE JobID='%s'""" % (self.jobTable, self.identification)
		self.cursor.execute(selectQuery)		
		rows = self.cursor.fetchall()
		data = rows[0][0]
		dict = UnserializeDictionary(data)
		return dict
def optionArguments ( self ) : if not self . exists ( ) : raise Exceptions . DatabaseRetrievalError , "Job Id %s does not exist in the database" % self . identification self . connection . commit ( ) selectQuery = """SELECT OptionArguments FROM %s WHERE JobID='%s'""" % ( self . jobTable , self . identification ) self . cursor . execute ( selectQuery ) rows = self . cursor . fetchall ( ) data = rows [ 0 ] [ 0 ] dict = UnserializeDictionary ( data ) return dict
Returns the option arguments dictionary associated with the job.
Returns the option arguments dictionary associated with the job .
'''Returns the option arguments dictionary associated with the job.
		
		This dictionaries keys are command line option switches and values are the corresponding values.
		Note: This are NON file arguments i.e. they must not refer to a specific file or location.		
		
		If no option arguments were associated with the job this method returns None'''
self