def queue_execution_failed(entry): msg = { "Signal": qutils.queue_exec_state(), "Message": "Queue execution stopped" } safe_emit("queue", msg, namespace="/hwr")
def queue_execution_finished(entry, queue_state=None): state = queue_state if queue_state else qutils.queue_exec_state() msg = {"Signal": state, "Message": "Queue execution stopped"} qutils.enable_sample_entries(mxcube.TEMP_DISABLED, True) mxcube.TEMP_DISABLED = [] safe_emit("queue", msg, namespace="/hwr")
def queue_execution_finished(entry, queue_state=None): state = queue_state if queue_state else qutils.queue_exec_state() msg = {"Signal": state, "Message": "Queue execution stopped"} qutils.enable_sample_entries(mxcube.TEMP_DISABLED, True) mxcube.TEMP_DISABLED = [] safe_emit("queue", msg, namespace="/hwr")
def queue_execution_started(entry, queue_state=None): state = queue_state if queue_state else qutils.queue_exec_state() msg = {"Signal": state, "Message": "Queue execution started"} safe_emit("queue", msg, namespace="/hwr")
def queue_execution_failed(entry): msg = {"Signal": qutils.queue_exec_state(), "Message": "Queue execution stopped"} safe_emit("queue", msg, namespace="/hwr")
def queue_execution_started(entry, queue_state=None): state = queue_state if queue_state else qutils.queue_exec_state() msg = {"Signal": state, "Message": "Queue execution started"} safe_emit("queue", msg, namespace="/hwr")