From 7ce14defd369909c67a099ac86a0ed330d0eafff Mon Sep 17 00:00:00 2001 From: Arnaud Watlet <arnaud.watlet@umons.ac.be> Date: Mon, 11 Dec 2023 15:14:30 +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 a0b252b0..36986b21 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:"): + for i in tqdm(range(0, n), "Sequence progress", unit='quadrupoles', ncols=10): if self.sequence is None: quad = np.array([0, 0, 0, 0]) else: -- GitLab