schrodinger.tasks.test.cli.customized_cli module

class schrodinger.tasks.test.cli.customized_cli.Coord(*args, _param_type=<object object>, **kwargs)

Bases: schrodinger.models.parameters.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: schrodinger.tasks.jobtasks.ComboJobTask

class Input(*args, _param_type=<object object>, **kwargs)

Bases: schrodinger.models.parameters.CompoundParam

c1: schrodinger.tasks.test.cli.customized_cli.Coord

A parameter of the class.

c2: schrodinger.tasks.test.cli.customized_cli.Coord

A parameter of the class.

foo_host: str

A parameter of the class.

num_procs: int

A parameter of the class.

infile: schrodinger.tasks.tasks.TaskFile

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: parameters.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: schrodinger.tasks.cli.CLI

TaskClass

alias of schrodinger.tasks.test.cli.customized_cli.FooComboJobTask

customizeParamArgs()

Make calls to updateParamArg and skipParamArg here prior to parser creation in order to customize how auto-generated arguments are defined.

customizeParser(parser)

Modify the parser in-place after all atomic params in the task input have been added as arguments (excluding nonstandard params).

processCustomNamespace(task, namespace)

Process the parsed namespace to populate the task input with desired values.

makeOptionalArgsFromTask(task)

Make optional args from a task instance. Only param-mapped arguments are generated in the default implementation. Override to include additional arguments.