You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# manually trigger `_on_start` for now to ensure init is the same as before,
# but we ideally want this to not kick when the solara viz is created. I suppose
# maybe we need an `_on_viz` hook or something?
returnportrayal# TODO: Circular issue between vegetation model and cache generation# Issue URL: https://github.com/SchmidtDSE/mesa_abm_poc/issues/24# manually trigger `_on_start` for now to ensure init is the same as before,# but we ideally want this to not kick when the solara viz is created. I suppose# maybe we need an `_on_viz` hook or something?vegetation_model=Vegetation(bounds=TST_JOTR_BOUNDS)
cache_manager=CacheManager(bounds=TST_JOTR_BOUNDS, epsg=4326, model=vegetation_model)
<<<<<<<HEADtree_management=GeomanDrawControl(
drag=False, cut=False, rotate=False, polyline={}, circlemarker={}
)
tree_management.on_draw(model.add_agents_from_management_draw)
=======cache_manager.populate_elevation_cache_if_not_exists()
vegetation_model._on_start()
tree_management=GeomanDrawControl(drag=False, cut=False, rotate=False, polyline={})
tree_management.on_draw(vegetation_model.add_agents_from_management_draw)
>>>>>>>dev## TODO: Solara only works after first auto-reload#Issue URL: https://github.com/SchmidtDSE/mesa_abm_poc/issues/21page=SolaraViz(
vegetation_model,
name="Veg Model",
components=[
<<<<<<<HEADmake_geospace_component(cell_portrayal, zoom=14, controls=[tree_management]),
=======make_simple_raster_geospace_component(
cell_portrayal, zoom=14, controls=[tree_management]
),
>>>>>>>devmake_plot_component(
[
"Mean Age",
The text was updated successfully, but these errors were encountered:
manually trigger `_on_start` for now to ensure init is the same as before,
but we ideally want this to not kick when the solara viz is created. I suppose
maybe we need an `_on_viz` hook or something?
mesa_abm_poc/vegetation/app.py
Lines 74 to 78 in 89ee0c5
The text was updated successfully, but these errors were encountered: