Package schrodinger :: Package job :: Module launchapi :: Class JobSpecificationBuilder
[hide private]
[frames] | no frames]

Class JobSpecificationBuilder

object --+
         |
        JobSpecificationBuilder

A helper class to create a JobSpecification from an existing TaskSpecification.

Instance Methods [hide private]
 
__init__(self, task_spec)
x.__init__(...) initializes x; see help(type(x)) for signature
 
_getTaskSpec(self)
 
_getRuntimeParams(self)
 
getJobSpec(self)
 
setJobname(self, jobname)
 
setInputFiles(self, **input_files)
Indicate the filenames to be used for the input keys.
 
setOutputFiles(self, **output_files)
Indicate the filenames to be used for the output keys.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, task_spec)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

setInputFiles(self, **input_files)

 

Indicate the filenames to be used for the input keys.

Parameters:
  • input_files - Keyword arguments with the key as INPUT_KEY and the value as the associated filename.

setOutputFiles(self, **output_files)

 

Indicate the filenames to be used for the output keys.

Parameters:
  • output_files - Keyword arguments with the key as OUTPUT_KEY and the value as the associated filename.