forked from M-Labs/artiq
1
0
Fork 0

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

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"]