pymodaq 4.2.0__py3-none-any.whl → 4.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pymodaq might be problematic. Click here for more details.

pymodaq/__init__.py CHANGED
@@ -90,24 +90,6 @@ try:
90
90
  get_instrument_plugins()
91
91
  logger.info('*************************************************************************')
92
92
 
93
- if config('network', 'leco-server', 'run_coordinator_at_startup'):
94
- try:
95
- from pymodaq.utils.leco.utils import start_coordinator
96
- logger.info('')
97
- logger.info('')
98
- logger.info(f'********************************')
99
- logger.info(f"Starting the LECO Coordinator...")
100
- start_coordinator()
101
- logger.info(f"Done")
102
- except ImportError as e:
103
- logger.warning(f'Issue while importing the pyleco package: {str(e)}')
104
- except Exception as e:
105
- logger.warning(f'Issue while starting the pyleco coordinator: {str(e)}')
106
- finally:
107
- logger.info('************************')
108
- logger.info('')
109
- logger.info('')
110
-
111
93
  logger.info('')
112
94
  logger.info('')
113
95
  logger.info('************************')
pymodaq/resources/VERSION CHANGED
@@ -1 +1 @@
1
- version = '4.2.0'
1
+ version = '4.2.1'
@@ -0,0 +1,25 @@
1
+ from pymodaq.utils.logger import set_logger
2
+ from pymodaq.utils.config import Config
3
+
4
+ logger = set_logger('pymodaq')
5
+ config = Config() # to ckeck for config file existence, otherwise create one
6
+
7
+
8
+ if config('network', 'leco-server', 'run_coordinator_at_startup'):
9
+ try:
10
+ from pymodaq.utils.leco.utils import start_coordinator
11
+
12
+ logger.info('')
13
+ logger.info('')
14
+ logger.info(f'********************************')
15
+ logger.info(f"Starting the LECO Coordinator...")
16
+ start_coordinator()
17
+ logger.info(f"Done")
18
+ except ImportError as e:
19
+ logger.warning(f'Issue while importing the pyleco package: {str(e)}')
20
+ except Exception as e:
21
+ logger.warning(f'Issue while starting the pyleco coordinator: {str(e)}')
22
+ finally:
23
+ logger.info('************************')
24
+ logger.info('')
25
+ logger.info('')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pymodaq
3
- Version: 4.2.0
3
+ Version: 4.2.1
4
4
  Summary: Modular Data Acquisition with Python
5
5
  Project-URL: Homepage, http://pymodaq.cnrs.fr
6
6
  Project-URL: Source, https://github.com/PyMoDAQ/PyMoDAQ
@@ -1,4 +1,4 @@
1
- pymodaq/__init__.py,sha256=EjnfWRmdRCssq-NZgHAEtvbOOFlKrroCvCGm1DwLCAg,4991
1
+ pymodaq/__init__.py,sha256=OzwjVWbxpnESia6TdOYBQInMYYeG3angsHwXWgLedrQ,4240
2
2
  pymodaq/dashboard.py,sha256=4JK_I5M_KbGTyw18ws5cA9NwRersn7yAj_g6u2Ud4LA,64575
3
3
  pymodaq/icon.ico,sha256=hOHHfNDENKphQvG1WDleSEYcHukneR2eRFJu8isIlD4,74359
4
4
  pymodaq/splash.png,sha256=ow8IECF3tPRUMA4tf2tMu1aRiMaxx91_Y2ckVxkrmF0,53114
@@ -57,7 +57,7 @@ pymodaq/post_treatment/daq_measurement/daq_measurement_GUI.py,sha256=1u7hWDaiwsZ
57
57
  pymodaq/post_treatment/daq_measurement/daq_measurement_GUI.ui,sha256=PyzbCWPMkh5oIYYteZczXyWMeHKW9EJmM1QlzXhnyTk,7037
58
58
  pymodaq/post_treatment/daq_measurement/daq_measurement_main.py,sha256=CAKwcWMOD86aXB8mbdxOK7e8nZRos5d59FzDtqK1QoY,17093
59
59
  pymodaq/post_treatment/daq_measurement/process_from_QtDesigner_DAQ_Measurement_GUI.bat,sha256=e1tu2A67MS9fk3jhriF6saQgRxWIucIvNW92iWXFP6E,164
60
- pymodaq/resources/VERSION,sha256=6Gq08tcA4IxdsUkcOBXAIxu3adgAyv8CF8s17Yr6vNU,17
60
+ pymodaq/resources/VERSION,sha256=LZhtkok-oyHA3GTsvtmeXY2B-RoU-3gcS1fD8t7PUQ4,17
61
61
  pymodaq/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  pymodaq/resources/config_template.toml,sha256=klU5XH_2DBkF8QLIS-ZBQZCKfhwnrxyQHoG2meCEmEA,2889
63
63
  pymodaq/resources/preset_default.xml,sha256=Dt8iWLwPPOPtcG00JCVP-mh-G7KC6B0YN8hd8RQdnNI,27256
@@ -350,6 +350,7 @@ pymodaq/utils/h5modules/exporters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
350
350
  pymodaq/utils/h5modules/exporters/base.py,sha256=hGX2teIMO03QB0qBGTP4rzeXbZrQcVLskO0oQuGGgpE,4120
351
351
  pymodaq/utils/h5modules/exporters/flimj.py,sha256=z44C30KlAbaPmjnS5inYophnA18LwwqZOa1UMLEi4Tw,2361
352
352
  pymodaq/utils/h5modules/exporters/hyperspy.py,sha256=rheeVJQO0BAF606D_0S_j8huzOLzZfkUAp0OdJEnUz4,6517
353
+ pymodaq/utils/leco/__init__.py,sha256=wxgCC-0eragO_REWDMp-2zg9kK5l_W9oO68dtRYdoKA,878
353
354
  pymodaq/utils/leco/daq_move_LECODirector.py,sha256=roAGsTCK4fZ--G3T2enRwD6i6wOuq1b7iwViuUi0noY,6382
354
355
  pymodaq/utils/leco/daq_xDviewer_LECODirector.py,sha256=DsB-rLdmmA7B_Iv3cN7wetjL_ZH6FA5ZXgB_Y3y_CY0,5990
355
356
  pymodaq/utils/leco/desktop.ini,sha256=2zopClaSQqdFfIsC8CGo2Oc-14x9h1gV0-fUrDtLFmA,82
@@ -430,8 +431,8 @@ pymodaq/utils/tcp_ip/__init__.py,sha256=1e_EK0AgvdoLAD_CSGGEaITZdy6OWCO7ih9IAIp7
430
431
  pymodaq/utils/tcp_ip/mysocket.py,sha256=StAWj8dzHeMnbLj68Sel81uWFy-YkKVNRnVf7gXrESI,3452
431
432
  pymodaq/utils/tcp_ip/serializer.py,sha256=HJziYyR_duhGBt8QikmqET8OH1uI5OAFgQu4w4jCQt4,25776
432
433
  pymodaq/utils/tcp_ip/tcp_server_client.py,sha256=xIMTNgVW_rKK0yTi4FDNFLf85-Akb27Jz2LdrvOrP68,30660
433
- pymodaq-4.2.0.dist-info/METADATA,sha256=WW0JK_Va2orRXPH-p-LvzAdttZXJAyCvzJ1Lu5ADCB0,7665
434
- pymodaq-4.2.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
435
- pymodaq-4.2.0.dist-info/entry_points.txt,sha256=RAzdYNjvUT28I2eiCKki_g2NzXq0woWxhev6lwzwRv8,348
436
- pymodaq-4.2.0.dist-info/licenses/LICENSE,sha256=VKOejxexXAe3XwfhAhcFGqeXQ12irxVHdeAojZwFEI8,1108
437
- pymodaq-4.2.0.dist-info/RECORD,,
434
+ pymodaq-4.2.1.dist-info/METADATA,sha256=HPmhknPGuAZduqj1nCdLJhtGR_EcWWP01YMNNYMvFTk,7665
435
+ pymodaq-4.2.1.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
436
+ pymodaq-4.2.1.dist-info/entry_points.txt,sha256=RAzdYNjvUT28I2eiCKki_g2NzXq0woWxhev6lwzwRv8,348
437
+ pymodaq-4.2.1.dist-info/licenses/LICENSE,sha256=VKOejxexXAe3XwfhAhcFGqeXQ12irxVHdeAojZwFEI8,1108
438
+ pymodaq-4.2.1.dist-info/RECORD,,