Commit 8f464ecd authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Adds progress bar in run_sequence

Showing with 1 addition and 1 deletion
+1 -1
...@@ -709,7 +709,7 @@ class OhmPi(object): ...@@ -709,7 +709,7 @@ class OhmPi(object):
n = 1 n = 1
else: else:
n = self.sequence.shape[0] n = self.sequence.shape[0]
for i in tqdm(range(0, n), "Sequence progress", unit='quadrupoles', ncols=10): for i in tqdm(range(0, n), "Sequence progress", unit='quadrupoles', ncols=30, color='green'):
if self.sequence is None: if self.sequence is None:
quad = np.array([0, 0, 0, 0]) quad = np.array([0, 0, 0, 0])
else: else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment