aboutsummaryrefslogtreecommitdiff
path: root/examples/lock_eit.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 23:47:03 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 23:47:03 -0400
commita3d23083c8dd2b9648b2ef397b0d8c068551b082 (patch)
treeaab721808637b07bc2a8d6c27065a8596cb29e75 /examples/lock_eit.py
parent9183c44b23c20a20a61bbb090ac7cd2196875a3a (diff)
downloadqolab-a3d23083c8dd2b9648b2ef397b0d8c068551b082.tar.gz
qolab-a3d23083c8dd2b9648b2ef397b0d8c068551b082.zip
imports forward
Diffstat (limited to 'examples/lock_eit.py')
-rw-r--r--examples/lock_eit.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py
index af3c894..bc78d26 100644
--- a/examples/lock_eit.py
+++ b/examples/lock_eit.py
@@ -1,7 +1,4 @@
import logging
-# this should be done before justpy is called or log formatter does not work
-logging.basicConfig(format='%(asctime)s %(levelname)8s %(name)s: %(message)s', datefmt='%m/%d/%Y %H:%M:%S')
-
import justpy as jp
import pyvisa
import numpy as np
@@ -22,6 +19,10 @@ from qolab.data import TraceSetSameX, TraceXY, Trace
from qolab.hardware.i_server import I800
from qolab.file_utils import get_next_data_file
+# this should be done before justpy is called or log formatter does not work
+logging.basicConfig(format='%(asctime)s %(levelname)8s %(name)s: %(message)s', datefmt='%m/%d/%Y %H:%M:%S')
+
+
l = logging.getLogger('qolab.gui.web')
l.setLevel(logging.INFO)
l = logging.getLogger('qolab.tsdb')