Package Ganga :: Package Lib :: Package LCG :: Module LCG :: Class LCGJobConfig
[hide private]
[frames] | no frames]

Class LCGJobConfig

source code

GPIDev.Adapters.StandardJobConfig.StandardJobConfig --+
                                                      |
                                                     LCGJobConfig

Extends the standard Job Configuration with additional attributes

Instance Methods [hide private]
 
__init__(self, exe=None, inputbox=[], args=[], outputbox=[], env={}, inputdata=[], requirements=None)
exe - executable string to be run on the worker node or a File object to be shipped as executable script to the worker node args - list of strings which are passed as arguments to the executable string or File objects which are automatically added to the sandbox inputbox - list of additional File or FileBuffer objects which go to the sandbox outputbox - list of additional files which should be returned by the sandbox env - environment to be set for execution of the job
source code
 
getArguments(self) source code
 
getExecutable(self) source code

Inherited from GPIDev.Adapters.StandardJobConfig.StandardJobConfig: getArgStrings, getExeCmdString, getExeString, getOutputSandboxFiles, getSandboxFiles, processValues

Method Details [hide private]

__init__(self, exe=None, inputbox=[], args=[], outputbox=[], env={}, inputdata=[], requirements=None)
(Constructor)

source code 

exe - executable string to be run on the worker node or a File object to be shipped as executable script to the worker node args - list of strings which are passed as arguments to the executable string or File objects which are automatically added to the sandbox inputbox - list of additional File or FileBuffer objects which go to the sandbox outputbox - list of additional files which should be returned by the sandbox env - environment to be set for execution of the job

The constructor does processValues() automatically so the construction of the object may failed with exceptions raised by that method. Notes for derived classes:

  • this constructor should be called at the end of the derived constructor.
  • you may freely add new attributes as long as you they do not start with _
Overrides: GPIDev.Adapters.StandardJobConfig.StandardJobConfig.__init__
(inherited documentation)