schrodinger.tasks.test.cli.customized_cli module¶
- class schrodinger.tasks.test.cli.customized_cli.Coord(*args, _param_type=<object object>, **kwargs)¶
Bases:
CompoundParam
- x: float¶
A parameter of the class.
- y: float¶
A parameter of the class.
- xChanged¶
A
pyqtSignal
emitted by instances of the class.
- xReplaced¶
A
pyqtSignal
emitted by instances of the class.
- yChanged¶
A
pyqtSignal
emitted by instances of the class.
- yReplaced¶
A
pyqtSignal
emitted by instances of the class.
- class schrodinger.tasks.test.cli.customized_cli.FooComboJobTask(*args, _param_type=<object object>, **kwargs)¶
Bases:
ComboJobTask
- class Input(*args, _param_type=<object object>, **kwargs)¶
Bases:
CompoundParam
- foo_host: str¶
A parameter of the class.
- num_procs: int¶
A parameter of the class.
- bool_flag: bool¶
A parameter of the class.
- nums: list[int]¶
A parameter of the class.
- bool_flagChanged¶
A
pyqtSignal
emitted by instances of the class.
- bool_flagReplaced¶
A
pyqtSignal
emitted by instances of the class.
- c1Changed¶
A
pyqtSignal
emitted by instances of the class.
- c1Replaced¶
A
pyqtSignal
emitted by instances of the class.
- c2Changed¶
A
pyqtSignal
emitted by instances of the class.
- c2Replaced¶
A
pyqtSignal
emitted by instances of the class.
- foo_hostChanged¶
A
pyqtSignal
emitted by instances of the class.
- foo_hostReplaced¶
A
pyqtSignal
emitted by instances of the class.
- infileChanged¶
A
pyqtSignal
emitted by instances of the class.
- infileReplaced¶
A
pyqtSignal
emitted by instances of the class.
- num_procsChanged¶
A
pyqtSignal
emitted by instances of the class.
- num_procsReplaced¶
A
pyqtSignal
emitted by instances of the class.
- numsChanged¶
A
pyqtSignal
emitted by instances of the class.
- numsReplaced¶
A
pyqtSignal
emitted by instances of the class.
- mainFunction()¶
- calling_contextChanged¶
A
pyqtSignal
emitted by instances of the class.
- calling_contextReplaced¶
A
pyqtSignal
emitted by instances of the class.
- failure_infoChanged¶
A
pyqtSignal
emitted by instances of the class.
- failure_infoReplaced¶
A
pyqtSignal
emitted by instances of the class.
- input: CompoundParam¶
A parameter of the class.
- inputChanged¶
A
pyqtSignal
emitted by instances of the class.
- inputReplaced¶
A
pyqtSignal
emitted by instances of the class.
- job_configChanged¶
A
pyqtSignal
emitted by instances of the class.
- job_configReplaced¶
A
pyqtSignal
emitted by instances of the class.
- max_progressChanged¶
A
pyqtSignal
emitted by instances of the class.
- max_progressReplaced¶
A
pyqtSignal
emitted by instances of the class.
- nameChanged¶
A
pyqtSignal
emitted by instances of the class.
- nameReplaced¶
A
pyqtSignal
emitted by instances of the class.
- outputChanged¶
A
pyqtSignal
emitted by instances of the class.
- outputReplaced¶
A
pyqtSignal
emitted by instances of the class.
- progressChanged¶
A
pyqtSignal
emitted by instances of the class.
- progressReplaced¶
A
pyqtSignal
emitted by instances of the class.
- progress_stringChanged¶
A
pyqtSignal
emitted by instances of the class.
- progress_stringReplaced¶
A
pyqtSignal
emitted by instances of the class.
- statusChanged¶
A
pyqtSignal
emitted by instances of the class.
- statusReplaced¶
A
pyqtSignal
emitted by instances of the class.
- class schrodinger.tasks.test.cli.customized_cli.CustomizedCLI¶
Bases:
TaskCLI
- TaskClass¶
alias of
FooComboJobTask
- customizeParamArgs()¶
A param arg is a parser argument that corresponds to a param in the
self.ParamClass
. SeecustomizeParser
for adding non-param args.The following methods can be called from this method to customize param args:
updateParamArg
skipParamArg
flattenParamArgs
- customizeParser(parser)¶
Use this method to add additional arguments that do not correspond directly to any param in
self.ParamClass
. If custom arguments are added, overridecustomProcessParsedArgs
to consume the values of these custom arguments after they have been parsed.
- customProcessParsedArgs(param, namespace)¶
Process the parsed
namespace
to populate theparam
instance with desired values.
- makeOptionalArgsFromParam(param)¶
Make optional args from a param. Only param-mapped arguments are generated in the default implementation. Override to include additional arguments.