From 56946be20d27d95be90032c9e7096cbb71598e5f Mon Sep 17 00:00:00 2001 From: Dave McKay Date: Wed, 24 Jul 2024 11:40:07 +0100 Subject: [PATCH] . --- csd3-side/scripts/gen_exclude_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csd3-side/scripts/gen_exclude_list.py b/csd3-side/scripts/gen_exclude_list.py index 2f0a36a..1e56987 100644 --- a/csd3-side/scripts/gen_exclude_list.py +++ b/csd3-side/scripts/gen_exclude_list.py @@ -7,9 +7,9 @@ def remove_local_files(df,local_folder): for root, dirs, files in os.walk(local_folder): print(len(df)) these_local_files = [] - print('files:', files) for f in files: these_local_files.append(os.path.join(root, f)) + print('these_local_files:', these_local_files) df = df[~df['LOCAL_PATH'].isin(these_local_files)] def generate_exclude_list(df, local_folder):