-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additions - + `parameter_sets.py` from the main PyBaMM repository which acts as an entry point for the parameter sets mapped through the group `cookie_parameter_sets`. + `Chen2020.py` to test and load a parameter set through the entry point to ensure that everything works. + Tests to test the entry points. Updates - - A nox `dev` session. - Updated rules in compliance with the main PyBaMM repository in `pyproject.toml`. Accessing parameter sets through entry points here is the same as accessing it through PyBaMM. Instead using `pybamm.parameter_sets` here it would imply `pybamm_cookiecutter.paramter_sets` to access them. I think it would make it easier for current users to adapt to the template as the implementations are almost the same. Before release, the template should be modified in compliance with the module name a user would give. --------- Co-authored-by: Arjun Verma <arjunverma.oc@gmail.com> Co-authored-by: Ferran Brosa Planella <Ferran.Brosa-Planella@warwick.ac.uk> Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
- Loading branch information
1 parent
341cf53
commit 6636bcf
Showing
9 changed files
with
579 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
This project and source distributions bundle several libraries that are | ||
compatibly licensed. | ||
|
||
|
||
Name: PyBaMM | ||
Files: src/pybamm_cookiecutter/parameters/* | ||
License: BSD-3-Clause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from __future__ import annotations | ||
|
||
__all__ = ["parameter_sets",] |
Oops, something went wrong.