polaris.provenance.write
- polaris.provenance.write(work_dir, tasks, config=None)[source]
- Write a file with provenance, such as the git version, conda packages, command, and tasks, to the work directory - Parameters:
- work_dir (str) – The path to the work directory where the tasks will be set up 
- tasks (dict) – A dictionary describing all of the tasks and their steps 
- config (polaris.config.PolarisConfigParser) – Configuration options for this task, a combination of user configs and the defaults for the machine and component