diff --git a/CHANGELOG.md b/CHANGELOG.md index 44e6d66b..b3ef73be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ ## Enhancements - Fix lower bounds of dependency versions. +## Bug-Fixes +- Don't convert BOHB runs with status 'running' (consistent with SMAC). + # Version 1.1.3 ## Bug-Fixes diff --git a/deepcave/runs/converters/bohb.py b/deepcave/runs/converters/bohb.py index 9bf9a05d..e8fdc105 100644 --- a/deepcave/runs/converters/bohb.py +++ b/deepcave/runs/converters/bohb.py @@ -49,7 +49,6 @@ def from_path(cls, path): first_starttime = None for bohb_run in bohb.get_all_runs(): - times = bohb_run.time_stamps starttime = times["started"] endtime = times["finished"] @@ -77,7 +76,7 @@ def from_path(cls, path): if "SUCCESS" in status or "TERMINATED" in status or "COMPLETED" in status: status = Status.SUCCESS elif "RUNNING" in status or "QUEUED" in status or "REVIEW" in status: - status = Status.RUNNING + continue else: status = Status.CRASHED