HPS-MC
config_writer.py File Reference

Go to the source code of this file.

Namespaces

 hpsmc.config_writer
 Utilities for writing config files for jobs from environment variables.
 

Functions

def write_config (filename, component_names, include_defaults, fail_on_missing)
 Write a config file from environment variables. More...
 
def write_config_for_job (job_script, filename, include_defaults, fail_on_missing)
 Write a config file for a specific job script. More...
 
def _get_job_defaults ()
 Get default job class settings. More...
 

Variables

 parser = argparse.ArgumentParser("config_writer.py")
 
 action
 
 help
 
 nargs
 
 cl = parser.parse_args()
 
 config = cl.config