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

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)