Solver: Mage: Fix read bin.

setup.py
Pierre-Antoine Rouby 2024-01-24 16:16:13 +01:00
parent f56d87f648
commit 7ae64d390f
1 changed files with 2 additions and 4 deletions

View File

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