From ecc293cd25017c50e534b4da13a2ff73b86cbfa7 Mon Sep 17 00:00:00 2001 From: Samuel Brand <48288458+SamuelBrand1@users.noreply.github.com> Date: Wed, 11 Dec 2024 18:01:29 +0000 Subject: [PATCH] Update create_prediction_dataframe.jl --- pipeline/scripts/create_prediction_dataframe.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pipeline/scripts/create_prediction_dataframe.jl b/pipeline/scripts/create_prediction_dataframe.jl index bfe8583e6..9d02c6de1 100644 --- a/pipeline/scripts/create_prediction_dataframe.jl +++ b/pipeline/scripts/create_prediction_dataframe.jl @@ -51,8 +51,7 @@ end ## grped_failed_df = failed_df |> df -> @groupby(df, :infection_gen_proc, :latent_model) |> - gd -> @combine(gd, :n_success=sum(:runsuccess), - :n_fail=sum(1 .- :runsuccess)) + gd -> @combine(gd, :n_fail=sum(1 .- :runsuccess)) ## Save the prediction and failed dataframes CSV.write(plotsdir("plotting_data/predictions.csv"), dfs)