2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-26 11:48:27 +08:00

dashboard: fix argument recomputation for experiments outside repository. Closes #548

This commit is contained in:
Sebastien Bourdeauducq 2016-09-02 08:30:42 +08:00
parent 584d88428f
commit e0cdda2760

View File

@ -606,6 +606,8 @@ class ExperimentManager:
file, class_name, use_repository = self.resolve_expurl(expurl) file, class_name, use_repository = self.resolve_expurl(expurl)
if use_repository: if use_repository:
revision = self.get_submission_options(expurl)["repo_rev"] revision = self.get_submission_options(expurl)["repo_rev"]
else:
revision = None
description = await self.experiment_db_ctl.examine( description = await self.experiment_db_ctl.examine(
file, use_repository, revision) file, use_repository, revision)
return description[class_name]["arginfo"] return description[class_name]["arginfo"]