mirror of
https://github.com/paulscherrerinstitute/sf_daq_broker.git
synced 2026-05-17 12:26:48 +02:00
convert the slsdet.runStatus from e.g. "runStatus.WAITING" to "waiting"
This commit is contained in:
@@ -58,6 +58,7 @@ class Detector:
|
||||
else:
|
||||
n_modules = self.cfg.get_number_modules()
|
||||
status = [str(status)] * n_modules
|
||||
status = [i.split(".", 1)[1].lower() for i in status]
|
||||
status = parse_param_list(status)
|
||||
return status
|
||||
|
||||
|
||||
Reference in New Issue
Block a user