diff --git a/pyproject.toml b/pyproject.toml index 9f26863..1fddbe2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [ "scipy>=1.12", "pymatgen>=2024.9.10", "iapws>=1.5.3", - "monty>=2024.7.12", + "monty>=2024.7.29", "maggma>=0.67.0", "phreeqpython>=1.5.2", ] diff --git a/src/pyEQL/solution.py b/src/pyEQL/solution.py index 56b51ff..eac5968 100644 --- a/src/pyEQL/solution.py +++ b/src/pyEQL/solution.py @@ -2351,10 +2351,6 @@ def as_dict(self) -> dict: if self.volume_update_required: self._update_volume() d = super().as_dict() - for k, v in d.items(): - # convert all Quantity to str - if isinstance(v, Quantity): - d[k] = str(v) # replace solutes with the current composition d["solutes"] = {k: f"{v} mol" for k, v in self.components.items()} # replace the engine with the associated str