Skip to content

Commit 8c31b5d

Browse files
committed
upload prediction files only
1 parent 6a60915 commit 8c31b5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backfill_corrections/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ run:
8585
/bin/bash -c "cp params.host.json params.json && make gurobi.lic && make standardize-dirs && make run-local OPTIONS=\"${OPTIONS}\" LOG_FILE=${LOG_FILE}"
8686

8787
publish:
88-
NUM_FILES=`find $(USR_EXPORT_DIR) -name "*csv.gz" | wc -l`; \
88+
NUM_FILES=`find $(USR_EXPORT_DIR) -name "prediction*.csv.gz" | wc -l`; \
8989
if [[ $$NUM_FILES -gt 0 ]]; then \
9090
aws configure set aws_access_key_id $(AWS_KEY_ID); \
9191
aws configure set aws_secret_access_key $(AWS_SECRET_KEY); \
92-
aws s3 cp $(USR_EXPORT_DIR) $(S3_BUCKET)/ --recursive --exclude "*" --include "*.csv.gz"; \
92+
aws s3 cp $(USR_EXPORT_DIR) $(S3_BUCKET)/ --recursive --exclude "*" --include "*/prediction*.csv.gz"; \
9393
echo "SUCCESS: published $${NUM_FILES} files to the S3 bucket" >> $(LOG_FILE); \
9494
else \
9595
echo "No files in $(USR_EXPORT_DIR) to publish" >> $(LOG_FILE); \

0 commit comments

Comments
 (0)