refactor: fix __ini__ and add comment to psi_detector_base

This commit is contained in:
appel_c 2023-11-20 18:05:58 +01:00
parent f66508e116
commit 3a37de9eda
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,3 @@
from .DelayGeneratorDG645 import DelayGeneratorDG645
from .slits import SlitH, SlitV
from .XbpmBase import XbpmBase, XbpmCsaxsOp
from .SpmBase import SpmBase
@ -24,7 +23,7 @@ from ophyd.quadem import QuadEM
# cSAXS
from .epics_motor_ex import EpicsMotorEx
from .mcs_csaxs import McsCsaxs
from .mcs_csaxs import MCScSAXS
from .psi_detector_base import PSIDetectorBase, CustomDetectorMixin
from .eiger9m_csaxs import Eiger9McSAXS
from .pilatus_csaxs import PilatuscSAXS

View File

@ -288,7 +288,8 @@ class PSIDetectorBase(Device):
self.custom_prepare.prepare_detector()
state = False
self.custom_prepare.publish_file_location(done=state)
# At the moment needed bc signal is not reliable, BEC too fast
# At the moment needed bc signal might not be reliable, BEC too fast.
# Consider removing this overhead in future!
time.sleep(0.05)
return super().stage()