From 11fcd41b17683f2c14f378e51dd3dc309c573d62 Mon Sep 17 00:00:00 2001 From: Christophe Date: Sat, 3 Feb 2024 09:41:06 +0100 Subject: [PATCH] Fix save on CI: create output path --- src/save.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/save.jl b/src/save.jl index 2f925bf..11a714e 100644 --- a/src/save.jl +++ b/src/save.jl @@ -8,6 +8,8 @@ const beam_energy_map_filename = "beam_energy_map.png" const transmit_time_map_filename = "transmit_time_map.png" function saveall(images, beam_energy_map, transmit_time_map, sim_params, output_path="images") + mkpath(output_path) + @unpack fov, dbrange, orientation = sim_params extent = [0, fov[2], -1/2 * fov[1], 1/2 * fov[1]]