diff --git a/bin/check_samplesheet.py b/bin/check_samplesheet.py index 36351a71..b7437c12 100755 --- a/bin/check_samplesheet.py +++ b/bin/check_samplesheet.py @@ -89,7 +89,7 @@ def check_samplesheet(file_in, file_out): for fastq in [fastq_1, fastq_2]: if fastq: if fastq.find(" ") != -1: - print_error("FastQ file contains spaces!", "Line {}".format(lineNo), line) + print_error("FastQ file contains spaces!", "Line {}".format(line_number), line) if not fastq.endswith(".fastq.gz") and not fastq.endswith(".fq.gz"): print_error( "FastQ file does not have extension '.fastq.gz' or '.fq.gz'!",