Skip to content

Commit

Permalink
dots for progress reassurance
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Oct 29, 2024
1 parent 3bdd52d commit c46ca1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion csd3-side/scripts/lsst-backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,10 +719,12 @@ def process_files(s3_host, access_key, secret_key, bucket_name, current_objects,
# scanned_list_file = collate_list_file + '.scanned'
# scanned_dicts_file = collate_list_file + '.scanned_dicts'

print(f'Analysing local dataset {local_dir}.')
print(f'Analysing local dataset {local_dir}.', flush=True)
for folder, sub_folders, files in os.walk(local_dir, topdown=True):
total_all_folders += 1
total_all_files += len(files)
print('.', end='', flush=True)
print()
print(f'Folders: {total_all_folders} Files: {total_all_files}', flush=True)
if file_count_stop:
total_non_collate_zip = len(current_objects[current_objects['CURRENT_OBJECTS'].str.contains('collated_') == False])
Expand Down

0 comments on commit c46ca1a

Please sign in to comment.