From a5b86037cb935d77f72ef774fb35ebe977f706d8 Mon Sep 17 00:00:00 2001 From: Humna Awan Date: Mon, 29 Jan 2024 23:22:49 -0500 Subject: [PATCH] bug fix in the check on clEB. --- deepcmbsim/camb_power_spectrum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepcmbsim/camb_power_spectrum.py b/deepcmbsim/camb_power_spectrum.py index 892e565..7cef701 100644 --- a/deepcmbsim/camb_power_spectrum.py +++ b/deepcmbsim/camb_power_spectrum.py @@ -103,7 +103,7 @@ def get_cls(self, save_to_dict=None, user_params=True): cls_needed = ['clTT', 'clEE', 'clBB', 'clTE', 'clPP', 'clPT', 'clPE'] else: cls_needed = self.UserParams['cls_to_output'] - if 'EB' in cls_needed: + if 'clEB' in cls_needed: raise ValueError('camb does NOT output EB => it cant be in cls_to_output.') # https://camb.readthedocs.io/en/latest/results.html#camb.results.CAMBdata.get_total_cls