Skip to content

Commit

Permalink
fix init file check typo
Browse files Browse the repository at this point in the history
  • Loading branch information
saraloo committed Nov 2, 2023
1 parent ce5136e commit 719d74f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)){
Expand Down

0 comments on commit 719d74f

Please sign in to comment.