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

Friction, Stricklers: Update friction table.

No related merge requests found
Pipeline #58919 failed with stages
in 2 minutes and 1 second
Showing with 3 additions and 6 deletions
+3 -6
......@@ -113,10 +113,7 @@ class Stricklers(SQLSubModel):
return True
def __str__(self):
if self._name != "":
return f"{self._name} ({self._minor}, {self._medium})"
return f"({self._minor}, {self._medium})"
return f"{self.name} ({self._minor}, {self._medium})"
@property
def name(self):
......
......@@ -44,6 +44,6 @@ class FrictionsTranslate(MainTranslate):
# "edge": self._dict["reach"],
"begin_rk": _translate("Frictions", "Start (m)"),
"end_rk": _translate("Frictions", "End (m)"),
"begin_strickler": _translate("Frictions", "Start coefficient"),
"end_strickler": _translate("Frictions", "End coefficient"),
"begin_strickler": _translate("Frictions", "Coefficient"),
# "end_strickler": _translate("Frictions", "End coefficient"),
}
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