Skip to content

Commit

Permalink
Add update interval for progressbar
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromxavier committed Dec 6, 2023
1 parent 62ad787 commit a6504fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/curation/index.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a6504fb

Please sign in to comment.