Skip to content

Commit

Permalink
if no resumed_config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saraloo committed Nov 13, 2023
1 parent 087ae14 commit 85df486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preprocessing/seir_recode_omicron.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ opt <- optparse::parse_args(optparse::OptionParser(option_list = option_list))
print(paste0("Using config files: ", opt$config, " and ", opt$res_config))
config <- flepicommon::load_config(opt$config)

if (exists(config$initial_conditions$resumed_config)){
if (!is.null(config$initial_conditions$resumed_config)){
opt$res_config <- config$initial_conditions$resumed_config
}

Expand Down

0 comments on commit 85df486

Please sign in to comment.