scan_completed is now beamline agnostic
This commit is contained in:
@@ -6,8 +6,14 @@ from aare.common.rotation_scan import CompletedRotationScan
|
||||
class RotationScanManager(QObject):
|
||||
file_ready = Signal(str, int)
|
||||
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
self.__beamline = mx_beamline()
|
||||
self.__detector_url = get_jfjoch_url(self.__beamline)
|
||||
self.__detector_url = None
|
||||
|
||||
@Slot(CompletedRotationScan)
|
||||
def scan_completed(self, r: CompletedRotationScan):
|
||||
if r.result.file_prefix is not None:
|
||||
#self.file_ready.emit(r.result.file_prefix, 0)
|
||||
self.file_ready.emit("http://sls-gpu-001:8080", 0)
|
||||
self.file_ready.emit(self.__detector_url, 0)
|
||||
|
||||
Reference in New Issue
Block a user