Skip to content

Commit

Permalink
Small change to how the ionization energies are obtained.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Mar 9, 2021
1 parent 6442f19 commit 5f76426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/core/periodic_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5f76426

Please sign in to comment.