Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Nov 18, 2024
1 parent dda6570 commit 0e76bf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pynxtools_xps/vms/casa_data_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 0e76bf2

Please sign in to comment.