From 5f91e08b00d0c1f9e9ce78ff688528ebb4ea0c12 Mon Sep 17 00:00:00 2001 From: vangef Date: Fri, 21 Feb 2025 17:47:07 +0000 Subject: [PATCH] added dir name to move multiple submissions / attempt (except for the latest). and minimum size for files to inspect (and skip empty files) --- utils/settings.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utils/settings.py b/utils/settings.py index 76bed0b..607693c 100644 --- a/utils/settings.py +++ b/utils/settings.py @@ -4,7 +4,13 @@ import os BB_GRADEBOOKS_DIR = 'BB_gradebooks' # directory with extracted gradebooks downloaded from Blackboard BB_SUBMISSIONS_DIR = 'BB_submissions' # directory with organised gradebook submissions BAD_DIR_NAME = '__BAD__' # for organise_gradebook.py - directory with corrupt/invalid compressed files +MULTIPLE_DIR_NAME = '__multiple__' # for organise_gradebook.py - directory with older attempts / submissions when there is more than one. script organises only the most recent. + CSV_DIR = os.path.join(os.getcwd(), 'csv-inspect') # for inspect_gradebook.py and inspect_submissions.py - output dir for generated CSV files IGNORE_DIRS = [ '__MACOSX', '.git', 'node_modules', 'vendor' ] # list of dir names to ignore from extracting TRACKED_FILE_EXT = [ '.zip', '.rar', '.7z', '.txt', '.pde' ] # add extension in list to track stats for more + + +# inspect +MIN_FILESIZE_IN_BYTES = 10 \ No newline at end of file