Skip to content

Commit 7649412

Browse files
committed
Run incompatible tools only ones instead of rounds times
1 parent 201a5e4 commit 7649412

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cfpq_eval/eval_all_pairs_cflr.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ def is_enough_data_collected(result_file_path: Path, rounds: int):
2323
try:
2424
with open(result_file_path, 'r', encoding="utf-8") as file:
2525
reader = list(csv.reader(file))
26-
if len(reader) - 1 >= rounds or any("OOT" in row or "OOM" in row for row in reader):
26+
if len(reader) - 1 >= rounds or any(
27+
"OOT" in row or "OOM" in row or "-" in row
28+
for row in reader
29+
):
2730
return True
2831
except FileNotFoundError:
2932
pass

0 commit comments

Comments
 (0)