From dce2023e72b87ccdbf44377613f043e1e1687435 Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Fri, 16 Jun 2023 18:17:06 +0200
Subject: [PATCH] Adds plot_exec_log in test

---
 dev/test_2_mux_2024.py | 2 +-
 ohmpi/plots.py         | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev/test_2_mux_2024.py b/dev/test_2_mux_2024.py
index 6753eccf..d1516a9e 100644
--- a/dev/test_2_mux_2024.py
+++ b/dev/test_2_mux_2024.py
@@ -49,5 +49,5 @@ if within_ohmpi:
     k._hw.vab_square_wave(12,1)
     k._hw.switch_mux([1, 4, 2, 3], state='off')
     k._hw._plot_readings()
-    plot_exec_log('ohmpi/ohmpi/logs/exec.log')
+    plot_exec_log('ohmpi/logs/exec.log')
 change_config('../configs/config_default.py', verbose=False)
\ No newline at end of file
diff --git a/ohmpi/plots.py b/ohmpi/plots.py
index 15dfda45..2acf7d65 100644
--- a/ohmpi/plots.py
+++ b/ohmpi/plots.py
@@ -60,5 +60,3 @@ def plot_exec_log(exec_log,names=None,last_session=True): #TODO: select session
         axarr[i].legend()
     plt.show()
 
-
-plot_exec_log('logs/exec.log')
-- 
GitLab