polaris.run.setup_config

polaris.run.setup_config(base_work_dir, component_name, config_filepath)[source]

Set up the config object from the config file

Parameters
  • base_work_dir (str) – The base work directory where suites and tasks are being set up

  • component_name (str) – The component the config belongs to

config_filepathstr

The path to the config file within the component’s work directory

Returns

config (polaris.config.PolarisConfigParser) – The config object