diff --git a/bin/create_designid_status_replace_designs.py b/bin/create_designid_status_replace_designs.py index 61e01a1..cf799f9 100644 --- a/bin/create_designid_status_replace_designs.py +++ b/bin/create_designid_status_replace_designs.py @@ -72,7 +72,7 @@ def designid_status(design_file, obsTime, exp, fexp, field_id, des_objs=None): des_objs = tqdm(pool.imap(partial(create_des_object, design_file=file, obsTime=obsTime), range(1, n_exp + 1)), - total=len(n_exp)) + total=n_exp) des_objs = [r for r in des_objs] else: des_objs = None