Skip to content

Commit

Permalink
Fix truncate_accuracy_log.py: Add network division
Browse files Browse the repository at this point in the history
  • Loading branch information
weimingzha0 authored and pgmpablo157321 committed Aug 3, 2022
1 parent 7c3c697 commit 0f870ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/submission/truncate_accuracy_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def truncate_file(fname):

def copy_submission_dir(src, dst, filter_submitter):
for division in list_dir(src):
if division not in ["closed", "open"]:
if division not in ["closed", "open", "network"]:
continue
for submitter in list_dir(os.path.join(src, division)):
if filter_submitter and submitter != filter_submitter:
Expand All @@ -110,7 +110,7 @@ def truncate_results_dir(filter_submitter, backup):
"""
for division in list_dir("."):
# we are looking at ./$division, ie ./closed
if division not in ["closed", "open"]:
if division not in ["closed", "open", "network"]:
continue

for submitter in list_dir(division):
Expand Down

0 comments on commit 0f870ff

Please sign in to comment.