Commit a55669d1 authored by Theophile Terraz's avatar Theophile Terraz
Browse files

modif INI format

Showing with 3 additions and 3 deletions
+3 -3
......@@ -397,13 +397,13 @@ class Mage(CommandLineSolver):
id_sec = 1
for d in data:
IR = f"{id:>3}"
IS = f"{id_sec:>3}"
IR = f"{id}"
IS = f"{id_sec}"
discharge = f"{d['discharge']:>10.5f}"
elevation = f"{d['elevation']:>11.6f}"
kp = f"{d['kp']:>9.2f}"
f.write(f" {IR} {IS} {discharge}{elevation} {kp}\n")
f.write(f"{IR} {IS} {discharge} {elevation} {kp}\n")
id_sec += 1
id += 1
......
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