From 9bc363bb2cdc969eaf0953c0fe3d1dd32cedbcd8 Mon Sep 17 00:00:00 2001 From: Lukas Pielsticker <50139597+lukaspie@users.noreply.github.com> Date: Fri, 15 Nov 2024 20:09:41 +0100 Subject: [PATCH] mypy fix --- src/pynxtools_xps/vms/casa_data_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pynxtools_xps/vms/casa_data_model.py b/src/pynxtools_xps/vms/casa_data_model.py index f4bac559..c976aeab 100644 --- a/src/pynxtools_xps/vms/casa_data_model.py +++ b/src/pynxtools_xps/vms/casa_data_model.py @@ -366,7 +366,7 @@ class CasaRegion(XpsDataclass): rsf_effective: float = 0.0 def calculate_background(self, x: np.array, y: np.array): - backgrounds: Dict[str, Peak] = { + backgrounds: Dict[str, Any] = { "Shirley": Shirley, # "Step Down": StepDown, "U 3 Tougaard": TougaardU3, @@ -429,7 +429,7 @@ class CasaComponent(XpsDataclass): const: str = "" # CONST def calculate_lineshape(self, x: np.array): - lineshapes: Dict[str, Peak] = { + lineshapes: Dict[str, Any] = { "GL": GaussianLorentzianProduct, "SGL": GaussianLorentzianSum, "LA": LorentzianAsymmetric,