KingsburyLab / pyEQL

A Python library for solution chemistry
Other
66 stars 20 forks source link

edit log message _adjust_charge_balance #160

Closed rkingsbury closed 2 months ago

rkingsbury commented 3 months ago

v1.1.3 introduced a private _adjust_charge_balance method to consolidate charge balancing code. As part of that change, log messages for different situations were refactored. The log message at line 2298 is now redundant because it says

f"Solution is not electroneutral (C.B. = {cb} eq/L). Adjusting {self._cb_species} to compensate."

but there is now a separate log message at line 2291 that says

f"Solution is not electroneutral (C.B. = {cb} eq/L)."

The first log message (at line 2298) should be edited to remove the phrase "Solution is not electroneutral (C.B. = {cb} eq/L)."