From 5dbcb5c1d58f4283b53f64f78ecb765c4d4690fe Mon Sep 17 00:00:00 2001 From: YAY-C Date: Thu, 2 May 2024 17:05:11 +0200 Subject: [PATCH] fixed progressbar termination --- qstack/spahm/rho/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qstack/spahm/rho/utils.py b/qstack/spahm/rho/utils.py index 68b9d1d..00a8efb 100644 --- a/qstack/spahm/rho/utils.py +++ b/qstack/spahm/rho/utils.py @@ -199,6 +199,7 @@ def build_reaction(reacts_file, prods_file, local=False, print_level=0, summ=Tru XP = np.squeeze(XP) if diff : rxn = XP - XR else: rxn = (XR, XP) + if print_level > 0 : progress.finish() return rxn def regroup_symbols(file_list, print_level=0):