From f612b3beebfeb5d12aac613f3f9c70cb4e48f83d Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Mon, 9 Dec 2024 13:16:19 +0100 Subject: [PATCH] Remove `subnetwork_id` from the Edge table (#193) As of https://github.com/Deltares/Ribasim/pull/1956 these are automatically inferred. --- .../peilbeheerst_model/crossings_to_ribasim.py | 1 - .../peilbeheerst_model/ribasim_parametrization.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/peilbeheerst_model/peilbeheerst_model/crossings_to_ribasim.py b/src/peilbeheerst_model/peilbeheerst_model/crossings_to_ribasim.py index a4a4df4..50bbb40 100644 --- a/src/peilbeheerst_model/peilbeheerst_model/crossings_to_ribasim.py +++ b/src/peilbeheerst_model/peilbeheerst_model/crossings_to_ribasim.py @@ -891,7 +891,6 @@ def edge(self): # fill in the other columns edge["edge_type"] = "flow" edge["name"] = None - edge["subnetwork_id"] = None edge["geometry"] = self.edges["line_geom"] # comply to Ribasim 2024.11 diff --git a/src/peilbeheerst_model/peilbeheerst_model/ribasim_parametrization.py b/src/peilbeheerst_model/peilbeheerst_model/ribasim_parametrization.py index b81a9b8..4e22646 100644 --- a/src/peilbeheerst_model/peilbeheerst_model/ribasim_parametrization.py +++ b/src/peilbeheerst_model/peilbeheerst_model/ribasim_parametrization.py @@ -370,7 +370,6 @@ def create_linestring(row): "to_node_id", "edge_type", "name", - "subnetwork_id", "geometry", "meta_from_node_type", "meta_to_node_type",