mirror of https://gitlab.com/pamhyr/pamhyr2
Disable profile: dont check anymore if the profile we want to delete is attached to an initial condition
parent
237364a4e2
commit
54bfff9623
|
|
@ -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, "")
|
||||
|
|
|
|||
Loading…
Reference in New Issue