Cosmology parameters were hardcoded when initializing a CCL cosmology object in generate.py, preventing alternative runs (e.g. A_s instead of sigma8, m_nu, ...). This fix changed some of the cosmo_cfg dictionary entries to unify the treatment of the transfer_functionand extra_parameters keys, changed how the dictionary is passed to ccl.Cosmology and added a try-except clause to facilitate debugging for the user in the case of errors in the config file.
Cosmology parameters were hardcoded when initializing a CCL cosmology object in generate.py, preventing alternative runs (e.g. A_s instead of sigma8, m_nu, ...). This fix changed some of the
cosmo_cfg
dictionary entries to unify the treatment of thetransfer_function
andextra_parameters
keys, changed how the dictionary is passed toccl.Cosmology
and added a try-except clause to facilitate debugging for the user in the case of errors in the config file.Related to #52