diff --git a/alembic/versions/5e03ce584f3c_add_eez.py b/alembic/versions/5e03ce584f3c_add_eez.py index a28adc2a..38fc367d 100644 --- a/alembic/versions/5e03ce584f3c_add_eez.py +++ b/alembic/versions/5e03ce584f3c_add_eez.py @@ -44,7 +44,6 @@ def upgrade() -> None: session = orm.Session(bind=bind) eez = get_eez_from_url() # geojson.load(open("EEZ_and_HighSeas_20230410.json")) - eez = {"features": []} # noqa for feat in eez.get("features"): sovereign_keys = [ k for k in list(feat["properties"].keys()) if k.startswith("SOVEREIGN") diff --git a/alembic/versions/c0bd1215a3ca_add_iho.py b/alembic/versions/c0bd1215a3ca_add_iho.py index b16610db..4c220ac4 100644 --- a/alembic/versions/c0bd1215a3ca_add_iho.py +++ b/alembic/versions/c0bd1215a3ca_add_iho.py @@ -37,7 +37,6 @@ def upgrade() -> None: iho = get_iho_from_url() - iho = {"features": []} # noqa for feat in iho.get("features"): geometry = shape(feat["geometry"]).buffer(0) if not isinstance(geometry, MultiPolygon): diff --git a/alembic/versions/f9b7166c86b7_add_mpa.py b/alembic/versions/f9b7166c86b7_add_mpa.py index 387f4677..0972126e 100644 --- a/alembic/versions/f9b7166c86b7_add_mpa.py +++ b/alembic/versions/f9b7166c86b7_add_mpa.py @@ -36,7 +36,6 @@ def upgrade() -> None: session = orm.Session(bind=bind) mpa = get_mpa_from_url() - mpa = {"features": []} # noqa for feat in mpa.get("features"): geometry = shape(feat["geometry"]).buffer(0) if not isinstance(geometry, MultiPolygon):