Skip to content

Commit

Permalink
add progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
imedan committed Sep 6, 2024
1 parent f20c5f7 commit 3695bfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/create_designid_status_replace_designs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import numpy as np
import glob
import datetime
from tqdm import trange

from astropy.io import fits
from astropy.table import Table
Expand Down Expand Up @@ -57,7 +58,7 @@ def designid_status(design_file, obsTime, exp, field_id):
exp = 0
designid[exp], status[exp] = designid_status(file, obsTime, exp, field_id)
else:
for exp in range(n_exp):
for exp in trange(n_exp):
designid[exp], status[exp] = designid_status(file, obsTime, exp + 1, field_id)
return designid, status

Expand Down

0 comments on commit 3695bfb

Please sign in to comment.