Skip to content

Commit

Permalink
Merge pull request #40 from daavid00/dataReport
Browse files Browse the repository at this point in the history
Adding space in time series data
  • Loading branch information
daavid00 authored Feb 20, 2024
2 parents e2901bd + 0b1bd13 commit 0931e3e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pyopmspe11/visualization/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,11 +614,11 @@ def write_sparse_data(dig, dil):
text[-1] += ", boundTot [kg]"
for j, time in enumerate(dil["times_data"]):
text.append(
f"{time:.3e},{dil['pop1'][j]:.3e},{dil['pop2'][j]:.3e}"
f",{dil['moba'][j]:.3e},{dil['imma'][j]:.3e},{dil['dissb'][j]:.3e}"
f",{dil['seala'][j]:.3e},{dil['mobb'][j]:.3e},{dil['immb'][j]:.3e}"
f",{dil['dissb'][j]:.3e},{dil['sealb'][j]:.3e},{dil['m_c'][j]:.3e}"
f",{dil['sealt'][j]:.3e}"
f"{time:.3e}, {dil['pop1'][j]:.3e}, {dil['pop2'][j]:.3e}, "
f"{dil['moba'][j]:.3e}, {dil['imma'][j]:.3e}, {dil['dissb'][j]:.3e}, "
f"{dil['seala'][j]:.3e}, {dil['mobb'][j]:.3e}, {dil['immb'][j]:.3e}, "
f"{dil['dissb'][j]:.3e}, {dil['sealb'][j]:.3e}, {dil['m_c'][j]:.3e}, "
f"{dil['sealt'][j]:.3e}"
)
if dig["case"] != "spe11a":
text[-1] += f",{dil['boundtot'][j]:.3e}"
Expand Down

0 comments on commit 0931e3e

Please sign in to comment.