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 019fe25594
commit ef2195fe68
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)
if use_repository:
revision = self.get_submission_options(expurl)["repo_rev"]
else:
revision = None
description = await self.experiment_db_ctl.examine(
file, use_repository, revision)
return description[class_name]["arginfo"]