Skip to content

Commit f28027b

Browse files
Merge with PhyNerd/ConnectionTable-exceptions (Pull request labscript-suite#45)
2 parents dff2cf8 + 7675ac4 commit f28027b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: __main__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
except ImportError:
4646
raise ImportError('Require labscript_utils > 2.1.0')
4747

48-
check_version('labscript_utils', '2.7.1', '3')
48+
check_version('labscript_utils', '2.7.2', '3')
4949
check_version('qtutils', '2.0.0', '3.0.0')
5050
check_version('zprocess', '1.1.2', '3')
5151
check_version('labscript_devices', '2.0', '3')
@@ -697,7 +697,7 @@ def process(self,h5_filepath):
697697
# Create Connection Table object
698698
logger.info('About to load connection table: %s'%exp_config.get('paths','connection_table_h5'))
699699
connection_table_h5_file = exp_config.get('paths','connection_table_h5')
700-
connection_table = ConnectionTable(connection_table_h5_file, logging_prefix='BLACS')
700+
connection_table = ConnectionTable(connection_table_h5_file, logging_prefix='BLACS', exceptions_in_thread=True)
701701

702702
logger.info('connection table loaded')
703703

Diff for: front_panel_settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def restore(self):
7676
error = {}
7777
tab_data = {'BLACS settings':{}}
7878
try:
79-
saved_ct = ConnectionTable(self.settings_path, logging_prefix='BLACS')
79+
saved_ct = ConnectionTable(self.settings_path, logging_prefix='BLACS', exceptions_in_thread=True)
8080
ct_match,error = self.connection_table.compare_to(saved_ct)
8181

8282
with h5py.File(self.settings_path,'r') as hdf5_file:

0 commit comments

Comments
 (0)