mirror of https://gitlab.com/pamhyr/pamhyr2
Solver: Mage: Fix read bin.
parent
f56d87f648
commit
7ae64d390f
|
|
@ -1009,10 +1009,8 @@ class Mage8(Mage):
|
|||
# Set data for profile RI
|
||||
reach.set(ri, timestamp, key, d)
|
||||
if key == "Z":
|
||||
profile = study.river\
|
||||
.current_reach()\
|
||||
.reach.profile(ri)
|
||||
ptX, ptY = profile.get_water_limits(d)
|
||||
profile = reach.profile(ri)
|
||||
ptX, ptY = profile.geometry.get_water_limits(d)
|
||||
reach.set(ri, timestamp, "ptX", ptX)
|
||||
reach.set(ri, timestamp, "ptY", ptY)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue