-
-
Notifications
You must be signed in to change notification settings - Fork 563
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 613 citing #818
Issue 613 citing #818
Conversation
Codecov Report
@@ Coverage Diff @@
## master #818 +/- ##
==========================================
- Coverage 97.69% 97.68% -0.01%
==========================================
Files 205 209 +4
Lines 10566 10587 +21
==========================================
+ Hits 10322 10342 +20
- Misses 244 245 +1
Continue to review full report at Codecov.
|
Hi all, Relevant to this PR, at Imperial we have created R2T2 precisely to cover this functionality. We are in the process of polishing it and making sure it serves the community, but it might be worth have a look at it and - hopefully - implement it :) . It is in PyPI and can be installed as any other dependency. Please, have a look at it and let me know if you need some clarification or have any comment. Best wishes, |
Looks great! I will change to use that and let you know if I have any questions |
Reading the references from an external file and including the citations using a Key, which is what you use, is not implemented yet, but that specific functionality was in the backlog, so it might be a good time to implement it if that is the way you want to use it. |
it wouldn't be too bad, we could just keep the |
@dalonsoa I am tempted to merge this so we have it for v0.2.0 and then update to use R2T2 when that is ready, would that be ok with you? |
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 great thanks @tinosulzer ! do we also need a citation in the casadi solver?
I assumed that this would be covered by convert_to_casadi but no harm adding it anyway |
ah I missed that. yeah should be fine as is then |
Description
Add citation for pybamm to readme, and add functionality to print citations for the specific parts (models/solvers/parameters) of pybamm that were used when running a simulation
Fixes #613
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: