artiq_compile: fix after adding scheduler defaults

Closes #1290
This commit is contained in:
Chris Ballance 2019-03-20 23:21:43 +00:00 committed by Sébastien Bourdeauducq
parent 8d2c1be44f
commit af785b9a9c

View File

@ -46,7 +46,7 @@ def main():
exp = get_experiment(module, args.experiment)
arguments = parse_arguments(args.arguments)
argument_mgr = ProcessArgumentManager(arguments)
exp_inst = exp((device_mgr, dataset_mgr, argument_mgr))
exp_inst = exp((device_mgr, dataset_mgr, argument_mgr, {}))
if not hasattr(exp.run, "artiq_embedded"):
raise ValueError("Experiment entry point must be a kernel")