fix: minor bugfixes for XASSimpleScan, missing yield and "wait" for stubs.complete
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
""" This module contains the scan classes for the mono bragg motor of the Debye beamline."""
|
||||
"""This module contains the scan classes for the mono bragg motor of the Debye beamline."""
|
||||
|
||||
import time
|
||||
|
||||
import numpy as np
|
||||
from bec_lib.device import DeviceBase
|
||||
from bec_lib.logger import bec_logger
|
||||
from bec_server.scan_server.scans import AsyncFlyScanBase
|
||||
|
||||
logger = bec_logger.logger
|
||||
|
||||
|
||||
class XASSimpleScan(AsyncFlyScanBase):
|
||||
"""Class for the XAS simple scan"""
|
||||
@@ -71,7 +74,7 @@ class XASSimpleScan(AsyncFlyScanBase):
|
||||
|
||||
self._check_limits()
|
||||
# Ensure parent class pre_scan actions to be called.
|
||||
super().pre_scan()
|
||||
yield from super().pre_scan()
|
||||
|
||||
def scan_report_instructions(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user