Skip to content

Commit

Permalink
pass args
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Jan 13, 2025
1 parent 1cd0552 commit 19fed6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csd3-side/scripts/lsst-backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ def process_files(s3, bucket_name, api, current_objects, exclude, local_dir, des
print(to_collate.index)
print(to_collate.columns)
print(to_collate.dtypes)
to_collate['upload'] = to_collate['object_names'].apply(compare_zip_contents_bool, current_objects, destination_dir, meta=('return_bool', 'bool'))
to_collate['upload'] = to_collate['object_names'].apply(compare_zip_contents_bool, args=(current_objects, destination_dir), meta=('return_bool', 'bool'))
# to_collate = to_collate.rename(columns={'_upload':'upload'})
print('Comparison setup.', flush=True)
to_collate = to_collate.compute()
Expand Down

0 comments on commit 19fed6d

Please sign in to comment.