mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debug QSO export
This commit is contained in:
1 parent
f54dc07432
commit
19fedc2278
2 files changed
+4
-3
No files matched your search
+2
-2
@@ -262,7 +262,7 @@ class Mage(CommandLineSolver):
|
||||
v0 = d[0]
|
||||
v1 = d[1]
|
||||
|
||||
if t in ["HYD", "QSO", "LIM"]:
|
||||
if t in ["HYD", "LIM"]:
|
||||
v0 /= 60 # Convert first column to minute
|
||||
|
||||
f.write(f"{v0:9} {v1:9} \n")
|
||||
@@ -899,7 +899,7 @@ class Mage8(Mage):
|
||||
|
||||
# Data
|
||||
for d in bound.data:
|
||||
f.write(f"{d[0]:10.3f}{d[1]:10.3f}\n")
|
||||
f.write(f"{d[0]/60:10.3f}{d[1]:10.3f}\n")
|
||||
|
||||
return files
|
||||
|
||||
|
||||
@@ -209,7 +209,8 @@ class MainTranslate(UnitTranslate):
|
||||
"MainWindow", "Results can not be loaded"
|
||||
)
|
||||
self._dict["mb_results_folder_not_found"] = _translate(
|
||||
"MainWindow", "Results folder does not correspond to a Pamhyr2 solver"
|
||||
"MainWindow",
|
||||
"Results folder does not correspond to a Pamhyr2 solver name"
|
||||
)
|
||||
self._dict["mb_results_bin_not_found"] = _translate(
|
||||
"MainWindow", "Results binary files not found"
|
||||
|
||||
Reference in new issue
Block a user