Commit 7ae64d39 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Solver: Mage: Fix read bin.

Showing with 2 additions and 4 deletions
+2 -4
...@@ -1009,10 +1009,8 @@ class Mage8(Mage): ...@@ -1009,10 +1009,8 @@ class Mage8(Mage):
# Set data for profile RI # Set data for profile RI
reach.set(ri, timestamp, key, d) reach.set(ri, timestamp, key, d)
if key == "Z": if key == "Z":
profile = study.river\ profile = reach.profile(ri)
.current_reach()\ ptX, ptY = profile.geometry.get_water_limits(d)
.reach.profile(ri)
ptX, ptY = profile.get_water_limits(d)
reach.set(ri, timestamp, "ptX", ptX) reach.set(ri, timestamp, "ptX", ptX)
reach.set(ri, timestamp, "ptY", ptY) reach.set(ri, timestamp, "ptY", ptY)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment