From 54bfff9623af96cc8521b4964229f8f591f8dad5 Mon Sep 17 00:00:00 2001 From: Dylan Jeannin Date: Tue, 1 Sep 2026 17:47:03 +0200 Subject: [PATCH] Disable profile: dont check anymore if the profile we want to delete is attached to an initial condition --- src/Model/River.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Model/River.py b/src/Model/River.py index 433ab09f..07e93efa 100644 --- a/src/Model/River.py +++ b/src/Model/River.py @@ -922,12 +922,6 @@ Last export at: @date.""" "association": association, }) - for reach in list(self._initial_conditions._dict): - initial_conditions = self._initial_conditions.get(reach) - for data in initial_conditions.data: - if data["section"] is profile: - add("initial_condition", data, "section") - for structure in self._hydraulic_structures.lst: if structure.input_section is profile: add("hydraulic_structure", structure, "")