diff --git a/artiq/frontend/artiq_run.py b/artiq/frontend/artiq_run.py index bc4f81ff5..263b3cf08 100755 --- a/artiq/frontend/artiq_run.py +++ b/artiq/frontend/artiq_run.py @@ -149,7 +149,7 @@ def get_argparser(with_file=True): def _build_experiment(device_mgr, dataset_mgr, args): arguments = parse_arguments(args.arguments) argument_mgr = ProcessArgumentManager(arguments) - managers = (device_mgr, dataset_mgr, argument_mgr) + managers = (device_mgr, dataset_mgr, argument_mgr, {}) if hasattr(args, "file"): is_elf = args.file.endswith(".elf") is_ll = args.file.endswith(".ll") diff --git a/artiq/test/test_datasets.py b/artiq/test/test_datasets.py index db35d7f34..4ea48cc6e 100644 --- a/artiq/test/test_datasets.py +++ b/artiq/test/test_datasets.py @@ -46,7 +46,7 @@ class ExperimentDatasetCase(unittest.TestCase): # connection would marshal updates between dataset_mgr and dataset_db. self.dataset_db = MockDatasetDB() self.dataset_mgr = DatasetManager(self.dataset_db) - self.exp = TestExperiment((None, self.dataset_mgr, None)) + self.exp = TestExperiment((None, self.dataset_mgr, None, None)) def test_set_local(self): with self.assertRaises(KeyError):