diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py index 63f2033480e2306457b447d89b14f019749532d1..e717483bcb951a965399f034247c06840e6e2f13 100644 --- a/ohmpi/ohmpi.py +++ b/ohmpi/ohmpi.py @@ -28,6 +28,7 @@ from ohmpi.logging_setup import setup_loggers from ohmpi.config import MQTT_CONTROL_CONFIG, OHMPI_CONFIG, EXEC_LOGGING_CONFIG import ohmpi.deprecated as deprecated from ohmpi.hardware_system import OhmPiHardware +import tqdm # finish import (done only when class is instantiated as some libs are only available on arm64 platform) try: @@ -708,7 +709,7 @@ class OhmPi(object): n = 1 else: n = self.sequence.shape[0] - for i in range(0, n): + for i in tqdm(range(0, n), "Sequence progress:": if self.sequence is None: quad = np.array([0, 0, 0, 0]) else: diff --git a/requirements.txt b/requirements.txt index 4c649e24d14cd66c5bc3460be933dd9a686ffc60..4ad4830494fab308899325c3f1615f2a234a27ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,4 +10,5 @@ numpy paho-mqtt termcolor pandas -matplotlib \ No newline at end of file +matplotlib +tqdm \ No newline at end of file