Skip to content

Commit 115dd5b

Browse files
authored
Update truncate_accuracy_log.py | Remove a wrong ERROR message in logs (#2061)
1 parent 9dad99d commit 115dd5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/submission/truncate_accuracy_log.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ def truncate_results_dir(filter_submitter, backup, scenarios_to_skip):
142142
continue
143143

144144
# process results
145-
for directory in ["results", "compliance"]:
145+
required_dirs = ["results", "compliance"] if division in ["closed", "network"] else ["results"]
146+
for directory in required_dirs:
146147

147148
log_path = os.path.join(division, submitter, directory)
148149
if not os.path.exists(log_path):

0 commit comments

Comments
 (0)