Skip to content

Commit

Permalink
fix triphosphide error
Browse files Browse the repository at this point in the history
  • Loading branch information
rkingsbury committed Jul 20, 2024
1 parent d55313f commit d0aff52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymatgen/core/ion.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def get_reduced_formula_and_factor(
elif formula == "N[-0.33333333]":
formula = "N3[-1]"
elif formula == "P[-0.33333333]":
formula = "P[-1]"
formula = "P3[-1]"
# formate # codespell:ignore
elif formula == "HCOO[-1]":
formula = "HCO2[-1]"
Expand Down

0 comments on commit d0aff52

Please sign in to comment.