Disable profile: dont check anymore if the profile we want to delete is attached to an initial condition

new_design_pol
Dylan Jeannin 2026-09-01 17:47:03 +02:00
parent 237364a4e2
commit 54bfff9623
1 changed files with 0 additions and 6 deletions

View File

@ -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, "")