Skip to content

Commit

Permalink
Ignore running BOHB runs instead of assigning non-existent RUNNING
Browse files Browse the repository at this point in the history
…status
  • Loading branch information
helegraf committed Nov 10, 2023
1 parent 64e4e9e commit 29a1b26
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deepcave/runs/converters/bohb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 29a1b26

Please sign in to comment.