template_run#

caput.pipeline.runner.template_run(templatefile: os.PathLike, var: Any, *args: Any, **kwargs: Any) None[source]#

Run a pipeline from the given templatefile.

Template variable substitutions are specified with –var <varname>=<val> arguments, with one for each variable. <val> may be a comma separated list, in which case item represents a separate value that is processed. Values must not contain a comma themselves. If multiple variables are specified, each with multiple substitutions the outer product of all possible values is generated.

Parameters:
templatefilestr

A yaml file containing the pipeline template.

varAny

A list of variable substitutions to apply to the template.

*argsAny

Positional arguments to pass to run_pipeline.

**kwargsAny

Keyword arguments to pass to run_pipeline.