forked from M-Labs/artiq
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.
This commit is contained in:
parent
48cb111035
commit
dd928fc014
|
@ -301,8 +301,14 @@ class Worker:
|
||||||
await self._create_process(logging.WARNING)
|
await self._create_process(logging.WARNING)
|
||||||
r = dict()
|
r = dict()
|
||||||
|
|
||||||
def register(class_name, name, arginfo, scheduler_defaults):
|
def register(class_name, name, arginfo, argument_ui,
|
||||||
r[class_name] = {"name": name, "arginfo": arginfo, "scheduler_defaults": scheduler_defaults}
|
scheduler_defaults):
|
||||||
|
r[class_name] = {
|
||||||
|
"name": name,
|
||||||
|
"arginfo": arginfo,
|
||||||
|
"argument_ui": argument_ui,
|
||||||
|
"scheduler_defaults": scheduler_defaults
|
||||||
|
}
|
||||||
self.register_experiment = register
|
self.register_experiment = register
|
||||||
await self._worker_action({"action": "examine", "file": file},
|
await self._worker_action({"action": "examine", "file": file},
|
||||||
timeout)
|
timeout)
|
||||||
|
|
Loading…
Reference in New Issue