Skip to content

Commit

Permalink
Create comparison_plots directory if it does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
johnomotani committed Nov 15, 2023
1 parent 98226a3 commit 7b87b59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/makie_post_processing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ function makie_post_process(run_dir::Union{String,Tuple},
if length(run_info) == 1
plot_prefix = run_info[1].run_prefix * "_"
else
plot_prefix = joinpath("comparison_plots", "compare_")
comparison_plot_dir = "comparison_plots"
mkpath(comparison_plot_dir)
plot_prefix = joinpath(comparison_plot_dir, "compare_")
end
end

Expand Down

0 comments on commit 7b87b59

Please sign in to comment.