Commit e23e32f3 authored by Valentin Valls's avatar Valentin Valls
Browse files

Update the scan_info during the prepared event

parent f4f5960b
......@@ -42,7 +42,7 @@ class ScanNode(DataNodeContainer):
def dataset(self):
return self.parent
def prepared(self):
def prepared(self, scan_info):
"""Publish PREPARED event in Redis
if not self.new_node:
......@@ -51,6 +51,7 @@ class ScanNode(DataNodeContainer):
# TODO: what does the comment above mean?
with settings.pipeline(self._prepared_stream, self._info):
event = PreparedScanEvent()
def end(self, exception=None):
......@@ -1280,7 +1280,8 @@ class Scan:
# The scan info was updated with device metadata
self._axes_in_scan = self._get_data_axes(include_calc_reals=True)
with execute_pre_scan_hooks(self._axes_in_scan):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment