From 7d2d92a1e76f75735a686d0084a5d94225b6d49d Mon Sep 17 00:00:00 2001 From: Luke Shingles Date: Tue, 29 Oct 2024 13:41:32 +0000 Subject: [PATCH] Update spencerfano.py --- pynonthermal/spencerfano.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynonthermal/spencerfano.py b/pynonthermal/spencerfano.py index a7ab84a..dd351a4 100644 --- a/pynonthermal/spencerfano.py +++ b/pynonthermal/spencerfano.py @@ -654,7 +654,7 @@ def analyse_ntspectrum(self): Z, ion_stage, ionpot_ev=ionpot_valence, - Zbar=get_Zbar(ions=self.ionpopdict.keys(), ionpopdict=self.ionpopdict), + Zbar=get_Zbar(ions=tuple(self.ionpopdict.keys()), ionpopdict=self.ionpopdict), ) print(f" eff_ionpot: {eff_ionpot:.2f} [eV]") print(f" workfn: {workfn_ev:.2f} [eV]")