From 50f1b0db5decb775dd906f925ca9e8314ee43ae9 Mon Sep 17 00:00:00 2001 From: JoseEspinosa Date: Thu, 4 Jul 2024 13:14:40 +0200 Subject: [PATCH] Make linting happy --- bin/check_samplesheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/check_samplesheet.py b/bin/check_samplesheet.py index e9b5ab83..e85fefe9 100755 --- a/bin/check_samplesheet.py +++ b/bin/check_samplesheet.py @@ -85,7 +85,7 @@ def check_samplesheet(file_in, file_out, with_control=False): sample, fastq_1, fastq_2, replicate = lspl[: len(HEADER) - 2 if with_control else len(HEADER)] control = lspl[len(HEADER) - 2] if with_control else "" control_replicate = lspl[len(HEADER) - 1] if with_control else "" - + if sample.find(" ") != -1: print(f"WARNING: Spaces have been replaced by underscores for sample: {sample}") sample = sample.replace(" ", "_")