mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Disable profile: dont check anymore if the profile we want to delete is attached to an initial condition
This commit is contained in:
1 parent
237364a4e2
commit
54bfff9623
1 file changed
-6
@@ -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, "")
|
||||
|
||||
Reference in new issue
Block a user