From 847ad8772111365f59350814ca30abd7ca137c65 Mon Sep 17 00:00:00 2001 From: Sara Sjunnebo Date: Wed, 11 Dec 2024 12:03:09 +0100 Subject: [PATCH] Additional logging --- taca/illumina/Runs.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/taca/illumina/Runs.py b/taca/illumina/Runs.py index 8b2fda67..fa4cb6ee 100644 --- a/taca/illumina/Runs.py +++ b/taca/illumina/Runs.py @@ -221,10 +221,11 @@ def _get_samplesheet(self): if os.path.exists(ssname): return ssname else: + logger.warning( + f"Not able to find samplesheet {self.flowcell_id}.csv in {self.CONFIG["samplesheets_dir"]}" + ) raise RuntimeError( - "not able to find samplesheet {}.csv in {}".format( - self.flowcell_id, self.CONFIG["samplesheets_dir"] - ) + f"Not able to find samplesheet {self.flowcell_id}.csv in {self.CONFIG["samplesheets_dir"]}" ) def _is_demultiplexing_done(self):