From a82c849affd489970541c3a5e1d26325b06c20e4 Mon Sep 17 00:00:00 2001 From: glrs <5999366+glrs@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:25:47 +0200 Subject: [PATCH] Fix the base_dir path to lead to "projects" dir --- lib/realms/tenx/utils/sample_file_handler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/realms/tenx/utils/sample_file_handler.py b/lib/realms/tenx/utils/sample_file_handler.py index 2ac8190..868d53d 100644 --- a/lib/realms/tenx/utils/sample_file_handler.py +++ b/lib/realms/tenx/utils/sample_file_handler.py @@ -41,7 +41,9 @@ def __init__(self, sample: Any) -> None: self.config: Dict[str, Any] = sample.config # Define sample folder structure - self.base_dir: Path = Path(self.config["10x_dir"]) / self.project_name + self.base_dir: Path = ( + Path(self.config["10x_dir"]) / "projects" / self.project_name + ) self.sample_dir: Path = self.base_dir / self.sample_id self.fastq_files_dir: Path = self.base_dir / "fastq_files"