Skip to content

Commit a175d26

Browse files
authored
Merge pull request #108 from dihm/get_shot_globals_depbreak
Get shot globals dependency break
2 parents 019dc2d + 33871e1 commit a175d26

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

labscript_devices/FunctionRunner/blacs_workers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
from time import monotonic
1515
import numpy as np
1616
import labscript_utils.h5_lock
17+
from labscript_utils.shot_utils import get_shot_globals
1718
import h5py
1819
from blacs.tab_base_classes import Worker
19-
import runmanager
2020
import runmanager.remote
2121
from zprocess import rich_print
2222
from .utils import deserialise_function
@@ -48,7 +48,7 @@ class ShotContext(object):
4848
def __init__(self, h5_file, device_name):
4949
self.h5_file = h5_file
5050
self.device_name = device_name
51-
self.globals = runmanager.get_shot_globals(h5_file)
51+
self.globals = get_shot_globals(h5_file)
5252

5353

5454
class FunctionRunnerWorker(Worker):

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ install_requires =
3232
runmanager>=3.0.0
3333
importlib_metadata
3434
labscript>=3.0.0
35-
labscript_utils>=3.0.0
35+
labscript_utils>=3.3.0
3636
numpy>=1.15.1
3737
pillow
3838
tqdm

0 commit comments

Comments
 (0)