diff --git a/bin/create_designid_status_replace_designs.py b/bin/create_designid_status_replace_designs.py index 3a1acc5..401301a 100644 --- a/bin/create_designid_status_replace_designs.py +++ b/bin/create_designid_status_replace_designs.py @@ -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 @@ -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