From 394556838571184f10f340a3ffa59abbf4f1822b Mon Sep 17 00:00:00 2001 From: Javier Sanchez Date: Wed, 4 Dec 2024 18:37:29 -0500 Subject: [PATCH] now in fc it looks like it is As? --- augur/analyze.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/augur/analyze.py b/augur/analyze.py index 05dd0a8..8f1fafc 100644 --- a/augur/analyze.py +++ b/augur/analyze.py @@ -365,7 +365,7 @@ def compute_new_theory_vector(self, _sys_pars, _pars): extra_dict['amplitude_parameter'] = 'sigma8' dict_all.pop('A_s') else: - extra_dict['amplitude_parameter'] = 'A_s' + extra_dict['amplitude_parameter'] = 'As' dict_all.pop('sigma8') extra_dict['mass_split'] = dict_all['mass_split'] @@ -377,11 +377,15 @@ def compute_new_theory_vector(self, _sys_pars, _pars): extra_dict['camb_extra_params'].pop('kmin') dict_all.pop('extra_parameters') keys = list(dict_all.keys()) + # Remove None values for key in keys: if (dict_all[key] is None) or (dict_all[key] == 'None'): dict_all.pop(key) if self.cf is None: + print(extra_dict) + for key in extra_dict.keys(): + print(extra_dict[key], type(extra_dict[key])) self.cf = CCLFactory(**extra_dict) self.tools = firecrown.modeling_tools.ModelingTools(ccl_factory=self.cf) self.tools.reset()