diff --git a/run_first.py b/run_first.py index 62d39fe..7ea2524 100644 --- a/run_first.py +++ b/run_first.py @@ -9,6 +9,14 @@ init_logging_config() +processed_Path = os.path.join(os.getcwd(), "Data", "Processed") +if not os.path.exists(os.path.join(processed_Path)): + logging.info('"/Processed/" directory structure is missing, setting up a new one.\n') + os.mkdir(processed_Path) + os.mkdir(os.path.join(processed_Path, "Resumes")) + os.mkdir(os.path.join(processed_Path, "Data")) + + PROCESSED_RESUMES_PATH = os.path.join(os.getcwd(), "Data", "Processed", "Resumes") PROCESSED_JOB_DESCRIPTIONS_PATH = os.path.join(os.getcwd(), "Data", "Processed", "JobDescription")