From 9d396ea1bbe22e1eb2b5ed28a6fa25c3fc66d841 Mon Sep 17 00:00:00 2001 From: Leon Rauschning <99650940+lrauschning@users.noreply.github.com> Date: Tue, 5 Nov 2024 13:26:20 +0800 Subject: [PATCH] fix wrong path joining --- xpore/scripts/dataprep.py | 2 +- xpore/scripts/diffmod.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xpore/scripts/dataprep.py b/xpore/scripts/dataprep.py index 030116a..61ebe67 100644 --- a/xpore/scripts/dataprep.py +++ b/xpore/scripts/dataprep.py @@ -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() diff --git a/xpore/scripts/diffmod.py b/xpore/scripts/diffmod.py index 19a94e8..8c74e29 100644 --- a/xpore/scripts/diffmod.py +++ b/xpore/scripts/diffmod.py @@ -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.