Skip to content

Commit

Permalink
added logging to check eval dir
Browse files Browse the repository at this point in the history
Signed-off-by: Duncan Ragsdale <[email protected]>
  • Loading branch information
Thistleman committed Nov 29, 2023
1 parent 60e1679 commit 9082309
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workers/submission_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,10 @@ def create_current_evaluation_dir(dir_name='current_evaluation'):
local_dir = dir_name
logger.info(f'create local folder {local_dir}')
current_evaluation_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), local_dir)
logger.info(f'local folder located at {current_evaluation_dir}')
if not os.path.exists(current_evaluation_dir):
os.makedirs(current_evaluation_dir)
logger.info(f'created local folder {current_evaluation_dir}')
return current_evaluation_dir


Expand Down

0 comments on commit 9082309

Please sign in to comment.