Skip to content

Commit fa22b43

Browse files
authored
Merge pull request #119 from YinFengQi/fix-#118
fix: set 0 as default `max_BLACS_conn_length`
2 parents f1ed9cb + 32e46d9 commit fa22b43

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

labscript/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def __init__(
9393
self.connection = connection
9494
self.start_order = start_order
9595
self.stop_order = stop_order
96+
self.BLACS_connection = ""
9697
if start_order is not None and not isinstance(start_order, int):
9798
raise TypeError(
9899
f"Error when instantiating {name}. start_order must be an integer, not "

labscript/labscript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def generate_connection_table(hdf5_file):
229229
devicedict = {}
230230

231231
# Only use a string dtype as long as is needed:
232-
max_BLACS_conn_length = -1
232+
max_BLACS_conn_length = 0
233233

234234
for device in compiler.inventory:
235235
devicedict[device.name] = device

0 commit comments

Comments
 (0)