boa.wrapper_utils.write_configs#

boa.wrapper_utils.write_configs(trial_dir, parameters, model_options)#

Write model configuration file for each trial (model run). This is the config file used by FETCH3 for the model run.

The config file is written as `config.yml` inside the trial directory.

Parameters:
  • trial_dir (Path) – Trial directory where the config file will be written

  • parameters (list) – Model parameters for the trial, generated by the ax client

  • model_options (dict) – Model options loaded from the experiment config yml file.

Returns:

Path for the config file.

Return type:

str