-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Issue 1810 shortcuts #1822
Issue 1810 shortcuts #1822
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1822 +/- ##
===========================================
+ Coverage 99.23% 99.25% +0.02%
===========================================
Files 340 340
Lines 18790 18773 -17
===========================================
- Hits 18647 18634 -13
+ Misses 143 139 -4
Continue to review full report at Codecov.
|
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 @tinosulzer !
examples/scripts/cycling_ageing.py
Outdated
@@ -11,7 +11,7 @@ | |||
} | |||
) | |||
|
|||
param = pb.ParameterValues(chemistry=pb.parameter_sets.Mohtat2020) | |||
param = pb.ParameterValues(pb.parameter_sets.Mohtat2020) |
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.
can this just be "Mohtat2020"?
examples/scripts/nca_parameters.py
Outdated
@@ -4,7 +4,7 @@ | |||
model = pb.lithium_ion.DFN() | |||
|
|||
chemistry = pb.parameter_sets.NCA_Kim2011 | |||
parameter_values = pb.ParameterValues(chemistry=chemistry) | |||
parameter_values = pb.ParameterValues(chemistry) |
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.
can this just be "Kim2011"?
@@ -17,7 +17,7 @@ def test_runs_Xu2019(self): | |||
|
|||
# load parameter values | |||
chemistry = pybamm.parameter_sets.Xu2019 | |||
param = pybamm.ParameterValues(chemistry=chemistry) | |||
param = pybamm.ParameterValues(chemistry) |
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.
"Xu2019"?
@@ -48,7 +48,7 @@ def test_runs_Chen2020(self): | |||
|
|||
# load parameter values | |||
chemistry = pybamm.parameter_sets.Chen2020_plating | |||
param = pybamm.ParameterValues(chemistry=chemistry) | |||
param = pybamm.ParameterValues(chemistry) |
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.
"Chen2020_plating"?
chemistry = pybamm.parameter_sets.NCA_Kim2011 | ||
parameter_values = pybamm.ParameterValues(chemistry=chemistry) | ||
parameter_values = pybamm.ParameterValues(chemistry) |
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.
"Kim2011"?
@@ -27,7 +27,7 @@ def test_load_params(self): | |||
def test_standard_lithium_parameters(self): | |||
|
|||
chemistry = pybamm.parameter_sets.Prada2013 | |||
parameter_values = pybamm.ParameterValues(chemistry=chemistry) | |||
parameter_values = pybamm.ParameterValues(chemistry) |
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.
"Prada2013"?
@@ -41,7 +41,7 @@ def test_load_params(self): | |||
def test_standard_lithium_parameters(self): | |||
|
|||
chemistry = pybamm.parameter_sets.Chen2020 | |||
parameter_values = pybamm.ParameterValues(chemistry=chemistry) | |||
parameter_values = pybamm.ParameterValues(chemistry) |
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.
"Chen2020"?
@@ -128,7 +128,7 @@ def test_functions(self): | |||
def test_standard_lithium_parameters(self): | |||
|
|||
chemistry = pybamm.parameter_sets.ORegan2021 | |||
parameter_values = pybamm.ParameterValues(chemistry=chemistry) | |||
parameter_values = pybamm.ParameterValues(chemistry) |
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.
"ORegan2021"?
Description
Fixes #1810 . Should be entirely back-compatible
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ flake8
$ python run-tests.py --unit
$ cd docs
and then$ make clean; make html
You can run all three at once, using
$ python run-tests.py --quick
.Further checks: