From 51858597cdcb459edf0d20a15d1e43af5a0598fe Mon Sep 17 00:00:00 2001
From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr>
Date: Mon, 27 Nov 2023 14:49:42 +0100
Subject: [PATCH] Mage: ST export minor change.

---
 src/Solver/Mage.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Solver/Mage.py b/src/Solver/Mage.py
index 4afaf59f..3a785e4e 100644
--- a/src/Solver/Mage.py
+++ b/src/Solver/Mage.py
@@ -200,9 +200,9 @@ class Mage(CommandLineSolver):
         wfile.write(f"{num}{c1}{c2}{t} {kp} {pname} {sediment}\n")
 
     def _export_ST_point_line(self, wfile, files, point):
-        x = f"{point.x:<12f}"[0:12]
-        y = f"{point.y:<12f}"[0:12]
-        z = f"{point.z:<12f}"[0:12]
+        x = f"{point.x:<12.4f}"[0:12]
+        y = f"{point.y:<12.4f}"[0:12]
+        z = f"{point.z:<12.4f}"[0:12]
         n = f"{point.name:<3}"
 
         # Generate sediment additional data if available
-- 
GitLab