Skip to content

Commit 1223c5c

Browse files
author
andre_ramos
committed
fix simulation test
1 parent f5d4640 commit 1223c5c

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

paper_tests/simulation_test/simulation.jl

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ include("metrics.jl")
1212
include("evaluate_models.jl")
1313
include("simulation_generator.jl")
1414

15-
############################## forward ####################################################
1615
using Distributed
1716
import Pkg
1817
Pkg.activate(".")
@@ -37,6 +36,21 @@ end
3736
include("simulation_generator.jl")
3837
end
3938

39+
function create_dirs()
40+
try
41+
mkdir("paper_tests/simulation_test/results_simulation_raw")
42+
catch
43+
@warn "Directory already exists"
44+
end
45+
try
46+
mkdir("paper_tests/simulation_test/results_simulation")
47+
catch
48+
@warn "Directory already exists"
49+
end
50+
end
51+
52+
create_dirs()
53+
4054
@everywhere begin
4155
function get_M_K_res(M_K_d)
4256
M = M_K_d["M"]

0 commit comments

Comments
 (0)