2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

artiq_compile: set file_import prefix, like in artiq_run.

This commit is contained in:
whitequark 2015-11-21 17:37:14 +08:00
parent a01e328b4a
commit af43c66149

View File

@ -40,7 +40,7 @@ def main():
dataset_mgr = DatasetManager(DatasetDB(args.dataset_db))
try:
module = file_import(args.file)
module = file_import(args.file, prefix="artiq_run_")
exp = get_experiment(module, args.experiment)
arguments = parse_arguments(args.arguments)
exp_inst = exp(device_mgr, dataset_mgr, **arguments)