mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2026-01-16 15:29:20 +01:00
fix: bugfix and reorder call logic in _init
This commit is contained in:
@@ -374,7 +374,6 @@ class PSIDelayGeneratorBase(Device):
|
||||
self.producer = self.device_manager.producer
|
||||
self._update_scaninfo()
|
||||
self._init()
|
||||
self.custom_prepare.is_ddg_okay()
|
||||
|
||||
def _update_scaninfo(self) -> None:
|
||||
"""
|
||||
@@ -388,6 +387,7 @@ class PSIDelayGeneratorBase(Device):
|
||||
def _init(self) -> None:
|
||||
"""Method to initialize custom parameters of the DDG."""
|
||||
self.custom_prepare.initialize_default_parameter()
|
||||
self.custom_prepare.is_ddg_okay()
|
||||
|
||||
def set_channels(self, signal: str, value: Any, channels: List = None) -> None:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user