Skip to content

Commit

Permalink
progressbars were set up to take an integer number of iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
keflavich committed Oct 13, 2024
1 parent 565986e commit 0fd643e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spectral_cube/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

bigdataurl = "https://spectral-cube.readthedocs.io/en/latest/big_data.html"

from tqdm.auto import tqdm as ProgressBar
from tqdm.auto import tqdm

def ProgressBar(niter, **kwargs):
return tqdm(total=niter, **kwargs)


def cached(func):
Expand Down

0 comments on commit 0fd643e

Please sign in to comment.