From 5f764268e3b7c243e1ce821f2e8eca9db263209e Mon Sep 17 00:00:00 2001 From: First Coder Date: Mon, 8 Mar 2021 16:09:02 -0800 Subject: [PATCH] Small change to how the ionization energies are obtained. --- pymatgen/core/periodic_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymatgen/core/periodic_table.py b/pymatgen/core/periodic_table.py index a2da0afd8c5..3441b61a379 100644 --- a/pymatgen/core/periodic_table.py +++ b/pymatgen/core/periodic_table.py @@ -301,7 +301,7 @@ def ionization_energy(self) -> float: """ First ionization energy of element. """ - return self.ionization_energies[0] # pylint: disable=E1101 + return self._data["Ionization energies"][0] @property def electronic_structure(self) -> str: