From e7dac4ab430a431756db9a8a399a17da72133508 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 29 Jan 2015 19:59:16 +0800 Subject: [PATCH] master: experiment registry --- artiq/frontend/artiq_master.py | 7 +++++-- examples/explist.pyon | 12 ++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 examples/explist.pyon diff --git a/artiq/frontend/artiq_master.py b/artiq/frontend/artiq_master.py index 638f034bb..a4298f38f 100755 --- a/artiq/frontend/artiq_master.py +++ b/artiq/frontend/artiq_master.py @@ -38,6 +38,7 @@ def main(): pdb.hooks.append(simplephist) rtr = RTResults() repository = Repository() + explist = FlatFileDB("explist.pyon") loop = asyncio.get_event_loop() atexit.register(lambda: loop.close()) @@ -56,7 +57,8 @@ def main(): "master_ddb": ddb, "master_pdb": pdb, "master_schedule": scheduler, - "master_repository": repository + "master_repository": repository, + "master_explist": explist }) loop.run_until_complete(server_control.start( args.bind, args.port_control)) @@ -68,7 +70,8 @@ def main(): "devices": ddb.data, "parameters": pdb.data, "parameters_simplehist": simplephist.history, - "rt_results": rtr.groups + "rt_results": rtr.groups, + "explist": explist.data }) loop.run_until_complete(server_notify.start( args.bind, args.port_notify)) diff --git a/examples/explist.pyon b/examples/explist.pyon new file mode 100644 index 000000000..debb3a6d3 --- /dev/null +++ b/examples/explist.pyon @@ -0,0 +1,12 @@ +{ + "Flopping F simulation": { + "file": "flopping_f_simulation.py", + "unit": null, + "gui_file": "flopping_f_simulation_gui.py" + }, + "RTIO skew": { + "file": "rtio_skew.py", + "unit": null, + "gui_file": null + } +}