From 3286d6a56f639b59713f87f4cf1a1cacab223bdf Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Sat, 15 Apr 2023 12:21:18 +0200
Subject: [PATCH] Adds a print for polarity problem during TxAbstract init

---
 hardware/abstract_hardware.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hardware/abstract_hardware.py b/hardware/abstract_hardware.py
index 17f465c9..1baf7890 100644
--- a/hardware/abstract_hardware.py
+++ b/hardware/abstract_hardware.py
@@ -16,6 +16,7 @@ class TxAbstract(ABC):
         polarity = kwargs.pop('polarity', 1)
         if polarity is None:
             polarity = 0
+        print(f'polarity: {polarity}')  # TODO: delete me
         inj_time = kwargs.pop('inj_time', 1.)
         self.exec_logger = kwargs.pop('exec_logger', None)
         if self.exec_logger is None:
-- 
GitLab