From 1f5e65ff3513556b6fc5fd74c81e6cde26dbaa9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20H=C3=A9riveaux?= Date: Tue, 26 Nov 2024 13:49:57 +0100 Subject: [PATCH] Fixed minor bug --- laserstudio/instruments/laser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/laserstudio/instruments/laser.py b/laserstudio/instruments/laser.py index 8b3bd7e..a760114 100644 --- a/laserstudio/instruments/laser.py +++ b/laserstudio/instruments/laser.py @@ -9,6 +9,7 @@ def __init__(self, config: dict): # Sweep parameters, in order to change the current_percentage # regularly, within a random value from sweep_min to sweep_max, # each sweep_freq applications + self.label = config.get("label") self.sweep_max = 100.0 self.sweep_min = 0.0 self.sweep_freq = 100