From 1b0729dafcd112d29956c70747104bcf835fc851 Mon Sep 17 00:00:00 2001 From: monty Date: Thu, 2 Nov 2023 11:31:24 -0600 Subject: [PATCH] ProgressMeter --- src/MadsMonteCarlo.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/MadsMonteCarlo.jl b/src/MadsMonteCarlo.jl index ef2981c3..f1f7b610 100644 --- a/src/MadsMonteCarlo.jl +++ b/src/MadsMonteCarlo.jl @@ -4,7 +4,6 @@ import JSON import AffineInvariantMCMC import DocumentFunction import BlackBoxOptim -import ProgressMeter import Random function p10_p50_p90(x::AbstractMatrix) @@ -74,11 +73,13 @@ function emceesampling(madsdata::AbstractDict; filename::AbstractString="", load chain, llhoods, observations = loadecmeeresults(madsdata, filename) if isnothing(chain) if execute - @info("AffineInvariantMCMC will be executed!") + @info("AffineInvariantMCMC will be executed! No preexisting data to load ...") else + @warn("No preexisting data to load! AffineInvariantMCMC will be not executed!") return nothing, nothing, nothing end else + @info("AffineInvariantMCMC preexisting data loaded!") return chain, llhoods, observations end end