From a1650853c7798e819b0083f48ba0cdabb1709fef Mon Sep 17 00:00:00 2001 From: hwpang Date: Mon, 13 Nov 2023 20:34:56 -0500 Subject: [PATCH] Test that file is saved --- src/TestReactors.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TestReactors.jl b/src/TestReactors.jl index 6d331b38..2612bd29 100644 --- a/src/TestReactors.jl +++ b/src/TestReactors.jl @@ -195,6 +195,8 @@ domain,y0,p = ConstantTPDomain(phase=ig,initialconds=initialconds) #Define the d react = Reactor(domain,y0,(0.0,150.11094);p=p) #Create the reactor object sol = solve(react.ode,CVODE_BDF(),abstol=1e-20,reltol=1e-12); #solve the ode associated with the reactor sim = Simulation(sol,domain); +save(sim, "test.csv") +@test isfile("test.csv") spcnames = getfield.(ig.species,:name) h2ind = findfirst(isequal("H2"),spcnames)