Skip to content

Commit

Permalink
Update create_prediction_dataframe.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelBrand1 committed Dec 11, 2024
1 parent e5f7927 commit ecc293c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pipeline/scripts/create_prediction_dataframe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ecc293c

Please sign in to comment.