![]() |
ATLAS Offline Software
|
Classes | |
class | DbParam |
class | JobAnalyzer |
class | TaskAnalyzer |
class | TaskManager |
class | TaskManagerCheckError |
class | TaskManagerDatabaseError |
Functions | |
def | dictFactory (cursor, row) |
def | getKey (d, v) |
def | getStatusClass (status) |
def | appendUnique (s, v) |
def | getFullTaskNames (taskman, dsname, taskname, requireSingleTask=False, confirmWithUser=False, addWildCards=True) |
def | getJobConfig (jobDir, dsName, taskName, jobName=' *') |
Variables | |
string | __author__ = 'Juerg Beringer' |
string | __version__ = 'TaskManager.py atlas/athena' |
def python.TaskManager.appendUnique | ( | s, | |
v | |||
) |
Definition at line 66 of file TaskManager.py.
def python.TaskManager.dictFactory | ( | cursor, | |
row | |||
) |
Convert a tuple from a database query into a dictonary.
Definition at line 35 of file TaskManager.py.
def python.TaskManager.getFullTaskNames | ( | taskman, | |
dsname, | |||
taskname, | |||
requireSingleTask = False , |
|||
confirmWithUser = False , |
|||
addWildCards = True |
|||
) |
Retrieve the full dataset and task names given a pair of (dsname,task) that may contain wildcards or be just a parital name such as the run number. Depending on the requireSingleTask and confirmWithUser settings a TaskManagerCheckError is raised if there are multiple tasks or if the user doesn't confirm.
Definition at line 74 of file TaskManager.py.
def python.TaskManager.getJobConfig | ( | jobDir, | |
dsName, | |||
taskName, | |||
jobName = '*' |
|||
) |
Read config dict from job files.
Definition at line 103 of file TaskManager.py.
def python.TaskManager.getKey | ( | d, | |
v | |||
) |
Get the key for which dictonary d has an entry with value v. Returns 'Undefined' if there's no such key, if several values are found.
Definition at line 43 of file TaskManager.py.
def python.TaskManager.getStatusClass | ( | status | ) |
Returns 'ok', 'warn' or 'bad' depending on the value of status.
Definition at line 53 of file TaskManager.py.
|
private |
Definition at line 17 of file TaskManager.py.
|
private |
Definition at line 18 of file TaskManager.py.