Skip to content

Commit

Permalink
Merge branch 'dev-to-master' of https://github.com/brown-ccv/Chamber.jl
Browse files Browse the repository at this point in the history
… into dev-to-master
  • Loading branch information
CallieHsu committed Sep 20, 2023
2 parents 9652274 + a71bba0 commit 51a8a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/write_csv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function write_csv(df::DataFrame, erupt_saved::EruptSaved{Float64}, path::String
"total_mass_CO2",
]
rename!(df, ["timestamp" => "time"])
rename!(df, ["value$i" => names[i] for i in 1:10])
rename!(df, ["value$i" => name for (i, name) in enumerate(names)])
# add eps_x column
m_h2o = df[:, "total_mass_H2O"] ./ df[:, "total_mass"]
m_co2 = df[:, "total_mass_CO2"] ./ df[:, "total_mass"]
Expand Down

0 comments on commit 51a8a73

Please sign in to comment.