Skip to content

Commit aaebc19

Browse files
committed
lint
1 parent 6a0a79e commit aaebc19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymatgen/analysis/defects/thermo.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1096,11 +1096,11 @@ def get_interp_en(entry: ComputedEntry) -> float:
10961096
"""Get the interpolated energy of an entry."""
10971097
e_dict = {}
10981098
for e in atomic_entries:
1099-
if len(e.composition.elements) != 1:
1099+
if len(e.composition.elements) != 1: # pragma: no cover
11001100
msg = "Only single-element entries should be provided."
11011101
raise ValueError(
11021102
msg,
1103-
) # pragma: no cover
1103+
)
11041104
e_dict[e.composition.elements[0]] = e.energy_per_atom
11051105

11061106
return sum(

0 commit comments

Comments
 (0)