From 0635c640e6b5c3d4a350af0a1588a86a99f93af3 Mon Sep 17 00:00:00 2001 From: imedan Date: Fri, 6 Sep 2024 08:58:41 -0500 Subject: [PATCH] syntax --- bin/create_designid_status_replace_designs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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