Callback - #1880
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1880 +/- ##
===========================================
- Coverage 99.37% 99.35% -0.02%
===========================================
Files 347 347
Lines 19136 18735 -401
===========================================
- Hits 19016 18615 -401
Misses 120 120
Continue to review full report at Codecov.
|
|
@martinjrobins I think this could be useful for automatically uploading simulation results from a script |
brosaplanella
left a comment
There was a problem hiding this comment.
Looks good, thanks Tino! I guess we should extend the example notebook but we can do this in the future. Before merging, you need to update CHANGELOG.
Description
Add callback hooks to
Simulation.solveand a move some logging steps to the callbackType 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 docsand then$ make clean; make htmlYou can run all three at once, using
$ python run-tests.py --quick.Further checks: