Skip to content

Commit

Permalink
gis: update examples for mesa-geo v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-boyu authored and rht committed Jan 18, 2024
1 parent 3363765 commit 31c9a3c
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gis/agents_and_networks/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-e .

# external requirements
mesa-geo~=0.6.0
mesa-geo~=0.7
geopandas
numpy
pandas
Expand Down
2 changes: 1 addition & 1 deletion gis/geo_schelling/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mesa-geo~=0.6.0
mesa-geo~=0.7
2 changes: 1 addition & 1 deletion gis/geo_schelling_points/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mesa-geo~=0.6.0
mesa-geo~=0.7
2 changes: 0 additions & 2 deletions gis/geo_sir/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ def step(self):
self.steps += 1
self.reset_counts()
self.schedule.step()
# Recalculate spatial tree, because agents are moving
self.space._recreate_rtree()

self.datacollector.collect(self)

Expand Down
2 changes: 1 addition & 1 deletion gis/geo_sir/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mesa-geo~=0.6.0
mesa-geo~=0.7
2 changes: 1 addition & 1 deletion gis/population/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mesa-geo~=0.6.0
mesa-geo~=0.7
2 changes: 1 addition & 1 deletion gis/rainfall/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mesa-geo~=0.6.0
mesa-geo~=0.7
2 changes: 1 addition & 1 deletion gis/urban_growth/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mesa-geo~=0.6.0
mesa-geo~=0.7

0 comments on commit 31c9a3c

Please sign in to comment.