Skip to content

Commit

Permalink
fix wrong path joining
Browse files Browse the repository at this point in the history
  • Loading branch information
lrauschning committed Nov 5, 2024
1 parent cc75890 commit 9d396ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xpore/scripts/dataprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def parallel_index(eventalign_filepath,chunk_size,out_dir,n_processes,resume):
# Create output paths and locks.
out_paths, locks = dict(), dict()
for out_filetype in ['index']:
out_paths[out_filetype] = os.path.join(out_dir, 'eventalign.', out_filetype)
out_paths[out_filetype] = os.path.join(out_dir, f"eventalign.{out_filetype}")
locks[out_filetype] = multiprocessing.Lock()


Expand Down
2 changes: 1 addition & 1 deletion xpore/scripts/diffmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def diffmod(args):
# Create output paths and locks.
out_paths,locks = dict(),dict()
for out_filetype in ['model','table','log']:
out_paths[out_filetype] = os.path.join(paths['out_dir'], 'diffmod', out_filetype)
out_paths[out_filetype] = os.path.join(paths['out_dir'], f"diffmod.{out_filetype}")
locks[out_filetype] = multiprocessing.Lock()

# Create communication queues.
Expand Down

0 comments on commit 9d396ea

Please sign in to comment.