-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fixes for upcoming PyBaMM v24.5 #313
Fixes for upcoming PyBaMM v24.5 #313
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #313 +/- ##
===========================================
+ Coverage 97.79% 98.07% +0.27%
===========================================
Files 47 44 -3
Lines 3039 2697 -342
===========================================
- Hits 2972 2645 -327
+ Misses 67 52 -15 ☔ View full report in Codecov by Sentry. |
Changes to pybamm v24.5 have resulted in solver.solve() to return values for incorrect inputs values when not requesting sensitivities. This removes the test that assert output == np.inf in this case.
Note: PyBaMM v24.5rc1 is out (and was yanked some time later), and v24.5rc2 is out with no extra changes compared to v24.5rc1. PyBaMM v24.5 should hit one week from now – just offering a heads-up. P.S. I would like to suggest modifying the workflow for nightly PyBaMM to try running against pre-releases if they are available ( |
That sounds like a great plan @agriyakhetarpal, please open a issue & PR when you get a chance! |
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.
Looks good, thanks @BradyPlanden !
…-pybammdevelop # Conflicts: # tests/unit/test_cost.py
Description
Fixes to
pybop.experiment
andpybop.base_model
for pybamm@develop ahead of pybamm v24.5.This currently targets my PyBaMM fork: https://github.com/BradyPlanden/PyBaMM/tree/fix-electrode-diffusion-rename as I've updated the electrode diffusivity -> particle diffusivity variable rename in PyBaMM to be non-breaking, but haven't opened a PR yet.Issue reference
Fixes #312
Review
Before you mark your PR as ready for review, please ensure that you've considered the following:
Type of change
Key checklist:
$ pre-commit run
(or$ nox -s pre-commit
) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ nox -s tests
$ nox -s doctest
You can run integration tests, unit tests, and doctests together at once, using
$ nox -s quick
.Further checks:
Thank you for contributing to our project! Your efforts help us to deliver great software.