Skip to content

Commit 395883f

Browse files
committed
show progress during load_chains
1 parent ebba102 commit 395883f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chains.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function load_chains(filename; burnin=0, thin=1, join=false, unbatch=true, dropm
4747
ks = keys(io)
4848
chunk_ks = sort([k for k in ks if startswith(k,"chunks_")], by=k->parse(Int,k[8:end]))
4949
chunk_ks = chunk_ks[burnin_chunks>=0 ? (burnin_chunks+1:end) : (end+burnin_chunks+1:end)]
50-
for (isfirst,k) in flagfirst(chunk_ks)
50+
@showprogress for (isfirst,k) in flagfirst(chunk_ks)
5151
if isfirst
5252
chains = read(io,k)
5353
else

0 commit comments

Comments
 (0)