From 66dab6d9094587e07e2f8ce3d8c298e9ced5a310 Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Tue, 10 Oct 2023 15:16:06 +0200
Subject: [PATCH] Searches for run_measurement error

---
 ohmpi/hardware_components/mb_2023_0_X.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/ohmpi/hardware_components/mb_2023_0_X.py b/ohmpi/hardware_components/mb_2023_0_X.py
index 4269fd54..98b7c855 100644
--- a/ohmpi/hardware_components/mb_2023_0_X.py
+++ b/ohmpi/hardware_components/mb_2023_0_X.py
@@ -163,11 +163,6 @@ class Tx(TxAbstract):
     def polarity(self, polarity):
         assert polarity in [-1, 0, 1]
         self._polarity = polarity
-        # debugging code
-        curframe = inspect.currentframe()
-        calframe = inspect.getouterframes(curframe, 2)
-        print(f'polarity called from: {calframe}')
-
         if polarity == 1:
             print('pin0')
             self.pin0.value = True
-- 
GitLab