From 0d63223780ce4a55d911408f823fa96f07555538 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Wed, 25 Sep 2024 13:42:22 +0200 Subject: [PATCH] remove another unique_id --- gis/population/population/space.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gis/population/population/space.py b/gis/population/population/space.py index e2747e19..60bce435 100644 --- a/gis/population/population/space.py +++ b/gis/population/population/space.py @@ -1,7 +1,6 @@ from __future__ import annotations import gzip -import uuid import geopandas as gpd import mesa @@ -47,7 +46,7 @@ def load_data(self, population_gzip_file, lake_zip_file, world_zip_file, model): raster_layer.total_bounds = world_size.total_bounds self.add_layer(raster_layer) self.lake = gpd.GeoDataFrame.from_file(lake_zip_file).geometry[0] - self.add_agents(GeoAgent(uuid.uuid4().int, model, self.lake, self.crs)) + self.add_agents(GeoAgent(model, self.lake, self.crs)) @property def population_layer(self):