From 719d74fb8ef78934e2550ae2391bd3e5b4f67e6c Mon Sep 17 00:00:00 2001 From: saraloo <45245630+saraloo@users.noreply.github.com> Date: Thu, 2 Nov 2023 08:44:02 -0400 Subject: [PATCH] fix init file check typo --- flepimop/R_packages/inference/R/inference_slot_runner_funcs.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flepimop/R_packages/inference/R/inference_slot_runner_funcs.R b/flepimop/R_packages/inference/R/inference_slot_runner_funcs.R index a1e226d5a..0974d8535 100644 --- a/flepimop/R_packages/inference/R/inference_slot_runner_funcs.R +++ b/flepimop/R_packages/inference/R/inference_slot_runner_funcs.R @@ -703,7 +703,7 @@ initialize_mcmc_first_block <- function( } initial_init_file <- config$initial_conditions$initial_conditions_file - if (file.exists(config$initial_conditions$initial_conditions_file)) { + if (!file.exists(config$initial_conditions$initial_conditions_file)) { stop("ERROR: Initial conditions file specified but does not exist.") } if (grepl(".csv", initial_init_file)){