forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def main():
exp = get_experiment(module, args.experiment) exp = get_experiment(module, args.experiment)
arguments = parse_arguments(args.arguments) arguments = parse_arguments(args.arguments)
argument_mgr = ProcessArgumentManager(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"): if not hasattr(exp.run, "artiq_embedded"):
raise ValueError("Experiment entry point must be a kernel") raise ValueError("Experiment entry point must be a kernel")