Skip to content

Commit

Permalink
fix exception for cation-anion
Browse files Browse the repository at this point in the history
  • Loading branch information
naik-aakash authored Jun 30, 2023
1 parent 544e8a9 commit 7f7258a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lobsterpy/cohp/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def setup_env(self):
if (
str(err) == "min() arg is an empty sequence"
or str(err)
== "All valences are equal to 0, additional_conditions 1 and 3 and 5 and 6 will not work"
== "All valences are equal to 0, additional_conditions 1, 3, 5 and 6 will not work"
):
raise ValueError(
"Consider switching to an analysis of all bonds and not only cation-anion bonds."
Expand Down

0 comments on commit 7f7258a

Please sign in to comment.