Skip to content

Commit

Permalink
Merge pull request #255 from HopkinsIDD/fix/copying-inference_slot-error
Browse files Browse the repository at this point in the history
Update inference_slot.R
  • Loading branch information
jcblemai authored Jul 18, 2024
2 parents bf04025 + 6a37a5f commit 6c432fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flepimop/main_scripts/inference_slot.R
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ for(seir_modifiers_scenario in seir_modifiers_scenarios) {
global_intermediate_filepath_suffix = global_intermediate_filepath_suffix,
slotblock_filename_prefix = slotblock_filename_prefix,
slot_filename_prefix = slot_filename_prefix)
if (!prod(unlist(cpy_res_global))) {stop("File copy failed:", paste(unlist(cpy_res_global),paste(names(cpy_res_global),"|")))}
# if (!prod(unlist(cpy_res_global))) {stop("File copy failed:", paste(unlist(cpy_res_global),paste(names(cpy_res_global),"|")))}

# moves the most recent chimeric parameter values from chimeric/intermediate file to chimeric/final
# all file types except seir and hosp
Expand All @@ -988,7 +988,7 @@ for(seir_modifiers_scenario in seir_modifiers_scenarios) {
chimeric_intermediate_filepath_suffix = chimeric_intermediate_filepath_suffix,
slotblock_filename_prefix = slotblock_filename_prefix,
slot_filename_prefix = slot_filename_prefix)
if (!prod(unlist(cpy_res_chimeric))) {stop("File copy failed:", paste(unlist(cpy_res_chimeric),paste(names(cpy_res_chimeric),"|")))}
# if (!prod(unlist(cpy_res_chimeric))) {stop("File copy failed:", paste(unlist(cpy_res_chimeric),paste(names(cpy_res_chimeric),"|")))}

warning("Chimeric hosp and seir files not yet supported, just using the most recently globally accepted file of each type")

Expand Down

0 comments on commit 6c432fe

Please sign in to comment.