Skip to content

Commit 73c64ce

Browse files
committed
minor for loading weird studies
1 parent c4d3c4a commit 73c64ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agentlab/analyze/agent_xray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ def get_directory_contents(results_dir: Path):
11641164
most_recent_summary = max(summary_files, key=os.path.getctime)
11651165
summary_df = pd.read_csv(most_recent_summary)
11661166

1167-
if len(summary_df) == 0 or summary_df["avg_reward"].isna().all():
1167+
if len(summary_df) == 0:
11681168
continue # skip if all avg_reward are NaN
11691169

11701170
# get row with max avg_reward

0 commit comments

Comments
 (0)