Skip to content

Commit 19998ba

Browse files
committed
add location to explanatory comment
1 parent ba27aba commit 19998ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/clean_s3.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ def _delete_data(
5959
total_deleted = 0
6060
storage_space_freed = 0
6161
keep_until_dates = {}
62-
# First pass, identify keep until files, which must follow the format keep_until_YYYY-MM-DD.lock
62+
# First pass, identify keep until files
63+
# which must follow the format keep_until_YYYY-MM-DD.lock and be located in the same folder
64+
# as the experiment's config.yml file
6365
for page in paginator.paginate(Bucket="silnlp"):
6466
for obj in page["Contents"]:
6567
s3_filename = obj["Key"]

0 commit comments

Comments
 (0)