From 67f9e225cffb9a24197722182148d9f10f0531a4 Mon Sep 17 00:00:00 2001 From: Michael Gump Date: Mon, 5 Aug 2019 13:19:30 -0700 Subject: [PATCH] [tune] Fix small bug in experiment_analysis (#5365) * [tune] Fix small bug in experiment_analysis _experiment_state was not set as an attribute of ExperimentAnalysis * Update python/ray/tune/analysis/experiment_analysis.py Co-Authored-By: Richard Liaw --- python/ray/tune/analysis/experiment_analysis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ray/tune/analysis/experiment_analysis.py b/python/ray/tune/analysis/experiment_analysis.py index a34710972..e8361222c 100644 --- a/python/ray/tune/analysis/experiment_analysis.py +++ b/python/ray/tune/analysis/experiment_analysis.py @@ -185,6 +185,7 @@ class ExperimentAnalysis(Analysis): """ with open(experiment_checkpoint_path) as f: _experiment_state = json.load(f) + self._experiment_state = _experiment_state if "checkpoints" not in _experiment_state: raise TuneError("Experiment state invalid; no checkpoints found.")