From 55701ab9225eaa3b5f5e82a71c850cc6f60d86e0 Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Mon, 11 Dec 2023 15:21:41 +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 fbf3caf0..41e94e67 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, colour='green'):
+        for i in tqdm(range(0, n), "Sequence progress", unit='injection', ncols=100, colour='green'):
             if self.sequence is None:
                 quad = np.array([0, 0, 0, 0])
             else:
-- 
GitLab