From de211b74650009211c52ab16982c12b400f31f37 Mon Sep 17 00:00:00 2001 From: Hao-Wei Pang Date: Thu, 8 Jun 2023 09:02:31 -0400 Subject: [PATCH] postfix the phase name to species name when saving --- src/Simulation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simulation.jl b/src/Simulation.jl index 0f3f73b0..0cefec9c 100644 --- a/src/Simulation.jl +++ b/src/Simulation.jl @@ -780,7 +780,7 @@ end function save(syss::T, save_name::String) where {T<:SystemSimulation} df = DataFrame(syss.sol) for sim in syss.sims - rename!(df, names(df)[sim.domain.indexes[1]:sim.domain.indexes[2]] .=> sim.names) + rename!(df, names(df)[sim.domain.indexes[1]:sim.domain.indexes[2]] .=> sim.names .* "($(sim.domain.phase.name))") for (thermovariable, index) in sim.domain.thermovariabledict rename!(df, names(df)[index] => thermovariable) end