mirror of https://gitlab.com/pamhyr/pamhyr2
debug IC
parent
c4e965a631
commit
36597d9b3d
|
|
@ -365,6 +365,7 @@ class InitialConditionsWindow(PamhyrWindow):
|
||||||
self._update()
|
self._update()
|
||||||
|
|
||||||
def generate_growing_constant_depth(self):
|
def generate_growing_constant_depth(self):
|
||||||
|
if self._reach.reach.number_profiles > 0:
|
||||||
dlg = DepthDialog(self.depth_value,
|
dlg = DepthDialog(self.depth_value,
|
||||||
self.depth_option,
|
self.depth_option,
|
||||||
trad=self._trad,
|
trad=self._trad,
|
||||||
|
|
@ -378,6 +379,7 @@ class InitialConditionsWindow(PamhyrWindow):
|
||||||
self._update()
|
self._update()
|
||||||
|
|
||||||
def generate_discharge(self):
|
def generate_discharge(self):
|
||||||
|
if self._reach.reach.number_profiles > 1:
|
||||||
dlg = DischargeDialog(self.discharge_value,
|
dlg = DischargeDialog(self.discharge_value,
|
||||||
self.discharge_option,
|
self.discharge_option,
|
||||||
trad=self._trad,
|
trad=self._trad,
|
||||||
|
|
@ -391,6 +393,7 @@ class InitialConditionsWindow(PamhyrWindow):
|
||||||
self._update()
|
self._update()
|
||||||
|
|
||||||
def generate_height(self):
|
def generate_height(self):
|
||||||
|
if self._reach.reach.number_profiles > 0:
|
||||||
dlg = HeightDialog(self.height_values,
|
dlg = HeightDialog(self.height_values,
|
||||||
self.height_option,
|
self.height_option,
|
||||||
trad=self._trad,
|
trad=self._trad,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue