From dc1d36d61ceeff1812b7ad4419d7f032ab2afdc4 Mon Sep 17 00:00:00 2001 From: Lisa Rennels <31779240+lrennels@users.noreply.github.com> Date: Wed, 16 Jun 2021 22:27:30 -0700 Subject: [PATCH] Update create_scc_validation_file.jl --- test/create_scc_validation_file.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/create_scc_validation_file.jl b/test/create_scc_validation_file.jl index 1ad4788..06b7c80 100644 --- a/test/create_scc_validation_file.jl +++ b/test/create_scc_validation_file.jl @@ -58,10 +58,10 @@ filter!(:gas => x -> (x == "CO2" || x == "CH4"), new_sc) # a tolerance of 1.0e-1 for pulse_size of 1 and 1e-9 for pulse_size of 1.0e7, so # we mirror that here -old_sc_bigpulse = filter!(:pulse_size => x -> x == 1.0e7, old_sc) -new_sc_bigpulse = filter!(:pulse_size => x -> x == 1.0e7, new_sc) +old_sc_bigpulse = filter(:pulse_size => x -> x == 1.0e7, old_sc) +new_sc_bigpulse = filter(:pulse_size => x -> x == 1.0e7, new_sc) @test all(isapprox.(old_sc_bigpulse[!, :SC], new_sc_bigpulse[!, :SC], atol = 1e-9)) -old_sc_smallpulse = filter!(:pulse_size => x -> x == 1.0e7, old_sc) -new_sc_smallpulse = filter!(:pulse_size => x -> x == 1.0e7, new_sc) +old_sc_smallpulse = filter(:pulse_size => x -> x == 1.0e7, old_sc) +new_sc_smallpulse = filter(:pulse_size => x -> x == 1.0e7, new_sc) @test all(isapprox.(old_sc_smallpulse[!, :SC], new_sc_smallpulse[!, :SC], atol = 1e-1))