From 2fc4af6cd8e7062fac3a496971d9ac3e28a8f051 Mon Sep 17 00:00:00 2001 From: Giorgos Date: Fri, 10 Nov 2023 12:25:06 -0500 Subject: [PATCH] Fix line that was producing an error when reference (true) coolest files were not given. --- coolest/api/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coolest/api/plotting.py b/coolest/api/plotting.py index add31b5..430c214 100644 --- a/coolest/api/plotting.py +++ b/coolest/api/plotting.py @@ -514,7 +514,7 @@ def init_getdist(self, shift_sample_list=None, settings_mcsamples=None): # Set the labels for the parameters in the chain file labels = [] for par_id in self.parameter_id_list: - param = coolest_obj.lensing_entities.get_parameter_from_id(par_id) + param = self.coolest_objects[i].lensing_entities.get_parameter_from_id(par_id) labels.append(param.latex_str.strip('$')) # Read parameter values and probability weights