Repository navigation
fix: Make bank_reserves batch_run example work - #1293
Merged
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1293 +/- ##
=======================================
Coverage 89.07% 89.07%
=======================================
Files 19 19
Lines 1245 1245
Branches 246 246
=======================================
Hits 1109 1109
Misses 101 101
Partials 35 35 Continue to review full report at Codecov.
|
tpike3
reviewed
Apr 27, 2022
| """ | ||
| br = BatchRunner( | ||
| from mesa.batchrunner import BatchRunnerMP | ||
| br = BatchRunnerMP( |
Member
There was a problem hiding this comment.
Should this be converted to batch_run since we are deprecating BatchRunnerMP?
Contributor
Author
There was a problem hiding this comment.
The code here is intentionally left behind, so that people can compare how it is done via batch_run and BatchRunnerMP.
Member
There was a problem hiding this comment.
Ahhh right... that is what I get for rushing and also trying to work on the script.
EwoutH
added a commit
to EwoutH/mesa
that referenced
this pull request
Nov 22, 2026
Fresh installs now pull in ipyvue and ipyvuetify 3 (Vue 3), as Solara doesn't cap them. Solara 1.65.2 fixes the blank GridDraggable that this caused in SolaraViz, so require at least that version. In Jupyter notebooks, the Solara sidebar and fullscreen mode still don't work with ipyvuetify 3 (widgetti/solara#1292, mesa#1294; fix in mesa#1293). Solara supports both Vue versions and declines to cap them, so document installing ipyvue<3 and ipyvuetify<3 instead of capping them in Mesa. Refs mesa#4133. Backport of mesa#4170, which is still open on main. Adapted for 3.5.x: raised the existing solara>=1.57.4 floor; 3.5 has no websockets<14 pin, so that part of the context was left out. Assisted-by: Claude Opus 5.5
EwoutH
added a commit
that referenced
this pull request
Nov 22, 2026
Fresh installs now pull in ipyvue and ipyvuetify 3 (Vue 3), as Solara doesn't cap them. Solara 1.65.2 fixes the blank GridDraggable that this caused in SolaraViz, so require at least that version. In Jupyter notebooks, the Solara sidebar and fullscreen mode still don't work with ipyvuetify 3 (widgetti/solara#1292, #1294; fix in #1293). Solara supports both Vue versions and declines to cap them, so document installing ipyvue<3 and ipyvuetify<3 instead of capping them in Mesa. Refs #4133.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The example of both batch_run and legacy BatchRunner is not working. This PR is the fix.