Skip to content

Commit

Permalink
Fix line that was producing an error when reference (true) coolest fi…
Browse files Browse the repository at this point in the history
…les were not given.
  • Loading branch information
gvernard committed Nov 10, 2023
1 parent 80c61c5 commit 2fc4af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coolest/api/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fc4af6

Please sign in to comment.