A class for building up a TaskSpecification from a specific list of
command-line arguments.
|
__init__(self,
data=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
getTaskSpec(self)
Return a TaskSpecification from this builder. |
|
|
|
setCommandLine(self,
args,
use_schrodinger_run=True,
schrodinger_product=None)
Set the command line as provided. |
|
|
|
setInputFile(self,
key,
jobname_source=False)
Set an input file for the task specification. |
|
|
|
|
|
setOutputFile(self,
key,
runtime_path,
stream=False,
incorporate=False) |
|
|
|
_setStdStreamLocation(self,
key,
runtime_path,
stream=False)
Specify a file for stderr or stdout to be redirected to. |
|
|
|
|
|
|
|
setProgramName(self,
program_name) |
|
|
|
setDriverReservesCores(self,
reserved)
If passed True, the driver will allocate N slots matching -HOST
hostname: N processes. |
|
|
|
setJobUsesTPP(self,
uses_tpp)
If passed True, this job will reserve the number of cores specified
from -TPP on the cmdline. |
|
|
|
|
|
_loadCommandLine(self,
data)
Verify and load the command-line specification from the JSON data. |
|
|
|
_loadInputSpec(self,
data) |
|
|
|
_loadJobname(self,
data)
Load the optional jobname spec. |
|
|
|
_loadOutputSpec(self,
data)
Load the optional output spec. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|