Skip to content

Commit

Permalink
Merge pull request #209 from KingsburyLab/bugfix
Browse files Browse the repository at this point in the history
bump monty to 2024.12.10; address pint deprecation warning
  • Loading branch information
rkingsbury authored Dec 11, 2024
2 parents 34f61c8 + 4570baf commit 107eeaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
"scipy>=1.12",
"pymatgen>=2024.9.10",
"iapws>=1.5.3",
"monty>=2024.7.12",
"monty>=2024.12.10",
"maggma>=0.67.0",
"phreeqpython>=1.5.2",
]
Expand Down
2 changes: 1 addition & 1 deletion src/pyEQL/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# activate the "chemistry" context globally
ureg.enable_contexts("chemistry")
# set the default string formatting for pint quantities
ureg.default_format = "P~"
ureg.formatter.default_format = "P~"

# create a Store for the default database
json_db_file = files("pyEQL") / "database" / "pyeql_db.json"
Expand Down

0 comments on commit 107eeaf

Please sign in to comment.