Package Ganga :: Package GPIDev :: Package Lib :: Package Tasks :: Module TaskApplication
[hide private]
[frames] | no frames]

Module TaskApplication

source code

Classes [hide private]
  TaskApplication
  TaskSplitter
  ExecutableTask
This is a Ganga.GPI.ExecutableTask implementation class.
  ArgSplitterTask
This is a Ganga.GPI.ArgSplitterTask implementation class.
Functions [hide private]
 
__task__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
taskify(baseclass, name) source code
 
taskApp(app)
Copy the application app into a task application.
source code
Variables [hide private]
  handler_map = [('Executable', 'ExecutableTask'), ('ArgSplitter...
  task_map = {'Executable': <class 'Ganga.GPIDev.Lib.Tasks.TaskA...
  __package__ = 'Ganga.GPIDev.Lib.Tasks'
  cols = {'black': (0, 0), 'blue': (0, 4), 'cyan': (0, 6), 'dgra...
  config = makeConfig('Tasks', 'Tasks configuration options')
  fx = Effects()
  logger = getLogger()
  markup = ANSIMarkup()
  overview_colours = {'attempted': '\x1b[103;30m', 'bad': '\x1b[...
  status_colours = {'completed': '\x1b[34m', 'new': '', 'pause':...
Function Details [hide private]

taskApp(app)

source code 

Copy the application app into a task application. Returns a task application without proxy


Variables Details [hide private]

handler_map

Value:
[('Executable', 'ExecutableTask'), ('ArgSplitter', 'ArgSplitterTask')]

task_map

Value:
{'Executable': <class 'Ganga.GPIDev.Lib.Tasks.TaskApplication.Executab\
leTask'>}

cols

Value:
{'black': (0, 0),
 'blue': (0, 4),
 'cyan': (0, 6),
 'dgray': (6, 0),
 'green': (0, 2),
 'lblue': (6, 4),
 'lcyan': (6, 6),
 'lgray': (0, 7),
...

overview_colours

Value:
{'attempted': '\x1b[103;30m',
 'bad': '\x1b[106;31m',
 'completed': '\x1b[44;97m',
 'failed': '\x1b[101;30m',
 'hold': '\x1b[47;30m',
 'ignored': '',
 'ready': '\x1b[47;92m',
 'running': '\x1b[42;30m',
...

status_colours

Value:
{'completed': '\x1b[34m',
 'new': '',
 'pause': '\x1b[36m',
 'running': '\x1b[32m',
 'running/pause': '\x1b[36m'}