-
Notifications
You must be signed in to change notification settings - Fork 23
enable solid-liquid and gas-liquid equilibrium calculations in equilibrate() #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #292 +/- ##
==========================================
+ Coverage 84.21% 84.77% +0.55%
==========================================
Files 10 10
Lines 1495 1517 +22
Branches 261 263 +2
==========================================
+ Hits 1259 1286 +27
+ Misses 203 199 -4
+ Partials 33 32 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
'PHREEQC' pytest
…added later); saturation index 0 for solids
|
Removed all tests. @SuixiongTay - please add tests as you see fit. As we discussed earlier, the |
|
Thanks @SuixiongTay. @rkingsbury - can you wait till Friday (12/12) before you look at this? I'm meeting with @SuixiongTay tomorrow and we may add one more commit with some minor tweaks. |
rkingsbury
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks everyone! Great work overall. I've requested a series of minor changes (mostly docstrings, comments, and small tweaks) mostly to support future maintain-ability and clarity. I'll merge as soon as addressed.
|
@SuixiongTay, @YitongPan1 - I've added a commit addressing all conversations above, except these 3:
Addressing the first may change some test values - I think we should be okay adding a commit with the changed atmospheric composition, then another commit that fixes failing tests (if any) because of that change. |
|
Thanks @SuixiongTay - your final edits make sense. I've added one more commit, mostly with a wording change that Ryan wanted, and some additional comments on atmospheric composition. Regarding the differences between Phreeqc UI and Phreeqc Wrapper, I suspect we can make them match exactly by passing in some kind of precision setting, but I'm not sure. I'll make a note of this (if it works, it will be a useful debugging feature in the new wrappers anyway). |
Code and tests for PHREEQC's phase equilibrium calculations.
This PR supersedes PR 286
Not done yet - @SuixiongTay was planning to add some tests, and I will as well.
Checklist
ruff. (For guidance in fixing rule violates, see rule list)mypy.Tip: Install
pre-commithooks to auto-check types and linting before every commit: