schrodinger.tasks.cmdline module¶
-
schrodinger.tasks.cmdline.
start_task
(task)¶ Wrapper around task.start that runs preprocessing, handles any pre- processing errors or warnings, starts the task, and prints a message if the task fails during start.
-
schrodinger.tasks.cmdline.
run_task_from_cmdline
(TaskClass, args=None)¶ Given a TaskClass, create a task and pass it arguments from the command- line. Arguments take the form of
--foo.bar.x VALUE', where `foo
is a subparam on the input of the task,bar
is a subparam on thefoo
, andx
is a subparam onbar
. Any omitted arguments will take the default value as specified by their corresponding params.Parameters: args (list[str]) – A list of strings describing the arguments to the task. If None
, the args will be parsed from the command-line.Returns: The finished task. Return type: TaskClass
-
schrodinger.tasks.cmdline.
build_task_from_args
(TaskClass, args)¶
-
schrodinger.tasks.cmdline.
run_jobtask_from_cmdline
(JobTaskClass, args=None)¶
-
schrodinger.tasks.cmdline.
build_jobtask_from_args
(JobTaskClass, args=None)¶