Skip to content

Commit

Permalink
forgot that the dir could not be a path
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgondu committed Nov 6, 2024
1 parent 48d2f82 commit 4b6fa6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hdbo_benchmark/utils/slurm/create_batch_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def write_batch_script_for_commands(
fp_instruction.writelines(commands)

# Making sure the output and error dirs exist
output_dir.mkdir(parents=True, exist_ok=True)
error_dir.mkdir(parents=True, exist_ok=True)
Path(output_dir).mkdir(parents=True, exist_ok=True)
Path(error_dir).mkdir(parents=True, exist_ok=True)

# Define the values for the placeholders
context = {
Expand Down

0 comments on commit 4b6fa6c

Please sign in to comment.