modif INI format

setup.py
Theophile Terraz 2023-11-29 17:10:27 +01:00
parent 8d67442ca3
commit a55669d181
1 changed files with 3 additions and 3 deletions

View File

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