-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
add __call__ method to with_units #1650
Conversation
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 @mefuller! Can you back out the formatting-only changes here? We intentionally don't follow black's formatting.
Also, I think the ThermoPhase.report()
method should be copied over, and that should be used for printing. This looks like it's generating a SolutionArray, like maybe you copied the __call__
from that class?
@bryanwweber oops - forgot that was turned on at work - meant to get back to this anyway at home, so here is the corrected commit Looks like this doesn't actually fix the problem and I'm not sure why (I did a |
@mefuller can you open up the generated |
@bryanwweber looks like the CI / .NET failures are due to a 404 pulling down dependencies - is there an easy way to re-trigger these? |
@mefuller I just restarted them |
I think the failure of the .NET on ubuntu-22.04 run is because we're missing a The other errors with the .NET interface are already fixed in the main branch (see commit aee3092), and can be resolved by rebasing. |
@bryanwweber the failures in CI seem to all be on .NET (with which I am not at all familiar) - any idea what might be the cause? |
I'm not sure, I think some foxes are on |
The solution to both distinct errors is in my previous comment. |
Sorry7 about glossing over that @speth - rebased and rerunning |
Thanks @mefuller , the code looks good, I just haven't had a chance to pull it down and try it out. I'll try to do that soon! |
ceaf9c4
to
414d363
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1650 +/- ##
==========================================
- Coverage 72.68% 72.68% -0.01%
==========================================
Files 370 370
Lines 56302 56302
Branches 20403 20403
==========================================
- Hits 40923 40922 -1
- Misses 12371 12372 +1
Partials 3008 3008 ☔ View full report in Codecov by Sentry. |
Thanks @mefuller! |
Changes proposed in this pull request
add
__call__
tocantera.with_units
solutions (closes #1649)Checklist
scons build
&scons test
) and unit tests address code coverage