Skip to content

Commit

Permalink
remove big export checks on merges
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienLeGuillou committed Oct 15, 2024
1 parent 6cab1b9 commit 15e397b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/netsim_scenarios.R
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ merge_netsim_scenarios <- function(sim_dir, output_dir,
if (!fs::dir_exists(output_dir)) fs::dir_create(output_dir)
batches_infos <- EpiModelHPC::get_scenarios_batches_infos(sim_dir)

oopts <- options(future.globals.maxSize = Inf)
on.exit(options(oopts))

future.apply::future_lapply(
unique(batches_infos$scenario_name),
function(scenario) {
Expand Down Expand Up @@ -371,6 +374,9 @@ merge_netsim_scenarios_tibble <- function(sim_dir, output_dir, steps_to_keep,
if (!fs::dir_exists(output_dir)) fs::dir_create(output_dir)
batches_infos <- EpiModelHPC::get_scenarios_batches_infos(sim_dir)

oopts <- options(future.globals.maxSize = Inf)
on.exit(options(oopts))

for (scenario in unique(batches_infos$scenario_name)) {
scenario_infos <- dplyr::filter(
batches_infos,
Expand Down

0 comments on commit 15e397b

Please sign in to comment.