From 2ed795d045500b0952f01c6724b7ed6aba43064c Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Mon, 29 Jul 2024 15:23:13 +0200 Subject: [PATCH] Ruff --unsafe-fixes --- .../Shortest_path/01_shortest_path_Hollandse_Delta.ipynb | 2 +- .../Shortest_path/02_shortest_path_HHSK.ipynb | 2 +- .../Shortest_path/03_shortest_path_HHNK.ipynb | 2 +- .../Shortest_path/04_shortest_path_Delfland.ipynb | 2 +- .../Shortest_path/05_shortest_path_Scheldestromen.ipynb | 2 +- .../Shortest_path/06_shortest_path_Zuiderzeeland.ipynb | 2 +- .../Shortest_path/07_shortest_path_WSRL.ipynb | 2 +- .../Shortest_path/08_shortest_path_Wetterskip.ipynb | 2 +- .../Shortest_path/09_shortest_path_Rijnland.ipynb | 2 +- src/peilbeheerst_model/Shortest_path/10_shortest_path_AGV.ipynb | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/peilbeheerst_model/Shortest_path/01_shortest_path_Hollandse_Delta.ipynb b/src/peilbeheerst_model/Shortest_path/01_shortest_path_Hollandse_Delta.ipynb index 35ebad5..5edf607 100644 --- a/src/peilbeheerst_model/Shortest_path/01_shortest_path_Hollandse_Delta.ipynb +++ b/src/peilbeheerst_model/Shortest_path/01_shortest_path_Hollandse_Delta.ipynb @@ -116,7 +116,7 @@ "\n", "def split_lines_at_intersections(gdf_object):\n", " split_lines = []\n", - " attributes = gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", + " gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", "\n", " for idx, row in gdf_object.iterrows():\n", " was_split = False\n", diff --git a/src/peilbeheerst_model/Shortest_path/02_shortest_path_HHSK.ipynb b/src/peilbeheerst_model/Shortest_path/02_shortest_path_HHSK.ipynb index 86346f8..9adcf5e 100644 --- a/src/peilbeheerst_model/Shortest_path/02_shortest_path_HHSK.ipynb +++ b/src/peilbeheerst_model/Shortest_path/02_shortest_path_HHSK.ipynb @@ -116,7 +116,7 @@ "\n", "def split_lines_at_intersections(gdf_object):\n", " split_lines = []\n", - " attributes = gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", + " gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", "\n", " for idx, row in gdf_object.iterrows():\n", " was_split = False\n", diff --git a/src/peilbeheerst_model/Shortest_path/03_shortest_path_HHNK.ipynb b/src/peilbeheerst_model/Shortest_path/03_shortest_path_HHNK.ipynb index c012561..b9c9e81 100644 --- a/src/peilbeheerst_model/Shortest_path/03_shortest_path_HHNK.ipynb +++ b/src/peilbeheerst_model/Shortest_path/03_shortest_path_HHNK.ipynb @@ -115,7 +115,7 @@ "\n", "def split_lines_at_intersections(gdf_object):\n", " split_lines = []\n", - " attributes = gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", + " gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", "\n", " for idx, row in gdf_object.iterrows():\n", " was_split = False\n", diff --git a/src/peilbeheerst_model/Shortest_path/04_shortest_path_Delfland.ipynb b/src/peilbeheerst_model/Shortest_path/04_shortest_path_Delfland.ipynb index f0b7369..9d3c533 100644 --- a/src/peilbeheerst_model/Shortest_path/04_shortest_path_Delfland.ipynb +++ b/src/peilbeheerst_model/Shortest_path/04_shortest_path_Delfland.ipynb @@ -115,7 +115,7 @@ "\n", "def split_lines_at_intersections(gdf_object):\n", " split_lines = []\n", - " attributes = gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", + " gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", "\n", " for idx, row in gdf_object.iterrows():\n", " was_split = False\n", diff --git a/src/peilbeheerst_model/Shortest_path/05_shortest_path_Scheldestromen.ipynb b/src/peilbeheerst_model/Shortest_path/05_shortest_path_Scheldestromen.ipynb index 0a9763a..0494b3f 100644 --- a/src/peilbeheerst_model/Shortest_path/05_shortest_path_Scheldestromen.ipynb +++ b/src/peilbeheerst_model/Shortest_path/05_shortest_path_Scheldestromen.ipynb @@ -117,7 +117,7 @@ "\n", "def split_lines_at_intersections(gdf_object):\n", " split_lines = []\n", - " attributes = gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", + " gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", "\n", " for idx, row in gdf_object.iterrows():\n", " was_split = False\n", diff --git a/src/peilbeheerst_model/Shortest_path/06_shortest_path_Zuiderzeeland.ipynb b/src/peilbeheerst_model/Shortest_path/06_shortest_path_Zuiderzeeland.ipynb index ce909eb..9221e59 100644 --- a/src/peilbeheerst_model/Shortest_path/06_shortest_path_Zuiderzeeland.ipynb +++ b/src/peilbeheerst_model/Shortest_path/06_shortest_path_Zuiderzeeland.ipynb @@ -117,7 +117,7 @@ "\n", "def split_lines_at_intersections(gdf_object):\n", " split_lines = []\n", - " attributes = gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", + " gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", "\n", " for idx, row in gdf_object.iterrows():\n", " was_split = False\n", diff --git a/src/peilbeheerst_model/Shortest_path/07_shortest_path_WSRL.ipynb b/src/peilbeheerst_model/Shortest_path/07_shortest_path_WSRL.ipynb index df7e0a4..4e77bbc 100644 --- a/src/peilbeheerst_model/Shortest_path/07_shortest_path_WSRL.ipynb +++ b/src/peilbeheerst_model/Shortest_path/07_shortest_path_WSRL.ipynb @@ -115,7 +115,7 @@ "\n", "def split_lines_at_intersections(gdf_object):\n", " split_lines = []\n", - " attributes = gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", + " gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", "\n", " for idx, row in gdf_object.iterrows():\n", " was_split = False\n", diff --git a/src/peilbeheerst_model/Shortest_path/08_shortest_path_Wetterskip.ipynb b/src/peilbeheerst_model/Shortest_path/08_shortest_path_Wetterskip.ipynb index 9d005bf..4c75e85 100644 --- a/src/peilbeheerst_model/Shortest_path/08_shortest_path_Wetterskip.ipynb +++ b/src/peilbeheerst_model/Shortest_path/08_shortest_path_Wetterskip.ipynb @@ -116,7 +116,7 @@ "\n", "def split_lines_at_intersections(gdf_object):\n", " split_lines = []\n", - " attributes = gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", + " gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", "\n", " for idx, row in gdf_object.iterrows():\n", " was_split = False\n", diff --git a/src/peilbeheerst_model/Shortest_path/09_shortest_path_Rijnland.ipynb b/src/peilbeheerst_model/Shortest_path/09_shortest_path_Rijnland.ipynb index 5dab20b..cb0ebe1 100644 --- a/src/peilbeheerst_model/Shortest_path/09_shortest_path_Rijnland.ipynb +++ b/src/peilbeheerst_model/Shortest_path/09_shortest_path_Rijnland.ipynb @@ -116,7 +116,7 @@ "\n", "def split_lines_at_intersections(gdf_object):\n", " split_lines = []\n", - " attributes = gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", + " gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", "\n", " for idx, row in gdf_object.iterrows():\n", " was_split = False\n", diff --git a/src/peilbeheerst_model/Shortest_path/10_shortest_path_AGV.ipynb b/src/peilbeheerst_model/Shortest_path/10_shortest_path_AGV.ipynb index 5e4cd0d..a9692be 100644 --- a/src/peilbeheerst_model/Shortest_path/10_shortest_path_AGV.ipynb +++ b/src/peilbeheerst_model/Shortest_path/10_shortest_path_AGV.ipynb @@ -118,7 +118,7 @@ "\n", "def split_lines_at_intersections(gdf_object):\n", " split_lines = []\n", - " attributes = gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", + " gdf_object.drop(columns=[\"geometry\"]) # Preserve non-geometry attributes\n", "\n", " for idx, row in gdf_object.iterrows():\n", " was_split = False\n",