Update optuna_dashboard/app.py

Co-authored-by: Masashi Shibata <c-bata@users.noreply.github.com>
This commit is contained in:
Huzi Cheng
2021-03-11 18:42:45 -05:00
committed by Cheng Huzi
co-authored by Masashi Shibata
parent 981b30e9df
commit d228ba74df
+1 -1
View File
@@ -99,7 +99,7 @@ def get_distribution_name(param_name: str, study: Study) -> str:
for trial in study.trials:
if param_name in trial.distributions:
return trial.distributions[param_name].__class__.__name__
assert False
assert False, "Must not reach here."
def create_app(storage: BaseStorage) -> Bottle: