Skip to content

Commit

Permalink
ProgressMeter
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Nov 2, 2023
1 parent a074620 commit 1b0729d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/MadsMonteCarlo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import JSON
import AffineInvariantMCMC
import DocumentFunction
import BlackBoxOptim
import ProgressMeter
import Random

function p10_p50_p90(x::AbstractMatrix)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1b0729d

Please sign in to comment.