Skip to content

Commit bba1ac2

Browse files
committed
Don't load files in main process
1 parent e89f19a commit bba1ac2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

experiments/Synth/scripts/synth_biodivine.jl

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ model_df.vertex = collect.(labels.(model_df.metagraph_model))
3636
model_df.vertices = model_df.vertex
3737

3838
# Filter only smaller models
39-
# model_df = model_df[length.(model_df.vertices).<15, :]
40-
39+
# per_vertex_df = flatten(model_df[length.(model_df.vertices).<15, :], :vertex)
4140
per_vertex_df = flatten(model_df, :vertex)
4241

4342
grammars_df = model_df[!, [:ID, :vertices]]
@@ -89,5 +88,11 @@ synth_params = Dict(
8988
)
9089

9190
@showprogress pmap(dict_list(synth_params)) do params
92-
@produce_or_load(synth_one_vertex, params, datadir("exp_raw", "biodivine_search"))
91+
# loadfile = false so we don't load all results into memory of the main process
92+
@produce_or_load(
93+
synth_one_vertex,
94+
params,
95+
datadir("exp_raw", "biodivine_search"),
96+
loadfile = false
97+
)
9398
end

0 commit comments

Comments
 (0)