From dd928fc014c4f96fe0b5d1bccb5c1eaf60ca8e62 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 19 Jun 2022 11:33:40 +0100 Subject: [PATCH] master: Fixup 32db6ff978 (argument_ui support) This was lost in the ndscan diff upstreaming process due to other Oxford-local changes in artiq.master.worker. --- artiq/master/worker.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/artiq/master/worker.py b/artiq/master/worker.py index 1267626ca..ca83dc7db 100644 --- a/artiq/master/worker.py +++ b/artiq/master/worker.py @@ -301,8 +301,14 @@ class Worker: await self._create_process(logging.WARNING) r = dict() - def register(class_name, name, arginfo, scheduler_defaults): - r[class_name] = {"name": name, "arginfo": arginfo, "scheduler_defaults": scheduler_defaults} + def register(class_name, name, arginfo, argument_ui, + scheduler_defaults): + r[class_name] = { + "name": name, + "arginfo": arginfo, + "argument_ui": argument_ui, + "scheduler_defaults": scheduler_defaults + } self.register_experiment = register await self._worker_action({"action": "examine", "file": file}, timeout)