From 7c25be382b91385b4e6f16f5dfaf3d95b6c0b207 Mon Sep 17 00:00:00 2001 From: Arnaud Watlet <arnaud.watlet@umons.ac.be> Date: Mon, 11 Dec 2023 15:18:11 +0100 Subject: [PATCH] Adds progress bar in run_sequence --- ohmpi/ohmpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py index c9050447..fbf3caf0 100644 --- a/ohmpi/ohmpi.py +++ b/ohmpi/ohmpi.py @@ -709,7 +709,7 @@ class OhmPi(object): n = 1 else: n = self.sequence.shape[0] - for i in tqdm(range(0, n), "Sequence progress", unit='quadrupoles', ncols=50, color='green'): + for i in tqdm(range(0, n), "Sequence progress", unit='quadrupoles', ncols=50, colour='green'): if self.sequence is None: quad = np.array([0, 0, 0, 0]) else: -- GitLab