Skip to content

Commit

Permalink
Added base name to optimization launch
Browse files Browse the repository at this point in the history
  • Loading branch information
kylevedder committed Apr 12, 2024
1 parent c380fd6 commit 16640fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_prep_scripts/split_optimization_jobs_jlaunch.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def build_splits(
assert base_config.is_file(), f"Config file {base_config} does not exist"
assert num_jobs > 0, f"Number of jobs must be positive"

# Make the launch files directory absolute
launch_files_dir = launch_files_dir.absolute()
# Make the launch files directory absolute, and under the base name.
launch_files_dir = launch_files_dir.absolute() / base_name

# Create a directory to store the jlaunch files
launch_files_dir.mkdir(exist_ok=True, parents=True)
Expand Down

0 comments on commit 16640fd

Please sign in to comment.