This function writes a JSON configuration file for MAS.

write_config(config_list, outfile_path)

Arguments

config_list

The list of objects, where each slot corresponds to a MAS config input

outfile_path

The path to the config file you want to save. This should end in a .json file extension.

Value

a string comprising the JSON config file