From a6504fbf790740c075176add9289f99ce61f9d65 Mon Sep 17 00:00:00 2001 From: pedromxavier Date: Wed, 6 Dec 2023 16:19:07 -0500 Subject: [PATCH] Add update interval for progressbar --- src/curation/index.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curation/index.jl b/src/curation/index.jl index 9de5583..06d17c0 100644 --- a/src/curation/index.jl +++ b/src/curation/index.jl @@ -395,7 +395,7 @@ function curate!(index::InstanceIndex; on_read_error::Function=msg -> @warn(msg) # add collection to HDF5 file HDF5.create_group(index.fp["collections"], collection) - @showprogress desc = "Reading instances @ '$collection'" for instance in _list_instances(index, collection) + @showprogress dt = 1.0 desc = "Reading instances @ '$collection'" for instance in _list_instances(index, collection) # Add instance to HDF5 file HDF5.create_group(index.fp["collections"][collection], instance)