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

Results: Fix results export.

No related merge requests found
Pipeline #53947 passed with stages
in 3 minutes and 20 seconds
Showing with 8 additions and 9 deletions
+8 -9
...@@ -614,12 +614,11 @@ class ResultsWindow(PamhyrWindow): ...@@ -614,12 +614,11 @@ class ResultsWindow(PamhyrWindow):
quotechar='|', quoting=csv.QUOTE_MINIMAL) quotechar='|', quoting=csv.QUOTE_MINIMAL)
writer.writerow(["timestamp", "z", "q"]) writer.writerow(["timestamp", "z", "q"])
for profile in reach.profiles: timestamps = sorted(self._results.get("timestamps"))
timestamps = self._results.get("timestamps")
for ts in timestamps:
for ts in timestamps: writer.writerow([
writer.writerow([ ts,
ts, profile.get_ts_key(ts, "Z"),
profile.get_ts_key(ts, "Z"), profile.get_ts_key(ts, "Q"),
profile.get_ts_key(ts, "Q"), ])
])
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