polaris.setup.setup_task
- polaris.setup.setup_task(path, task, machine, work_dir, baseline_dir, cached_steps, model)[source]
- Set up one or more tasks - Parameters:
- path (str) – Relative path for a tasks to set up 
- task (polaris.Task) – A task to set up 
- machine (str) – The name of one of the machines with defined config options, which can be listed with - polaris list --machines
- work_dir (str) – A directory that will serve as the base for creating task directories 
- baseline_dir (str) – Location of baselines that can be compared to 
- cached_steps (list of str) – Which steps (if any) should be cached, identified by a list of subdirectories in the component 
- model (str, optional) – The model to run