From 195a42fbe6020e86051615c696997a428065c84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Balajti?= Date: Tue, 21 Nov 2023 16:45:24 +0100 Subject: [PATCH] fix: statistics from second mate #151 --- htsinfer/get_library_stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htsinfer/get_library_stats.py b/htsinfer/get_library_stats.py index ff2bc57b..6413586f 100644 --- a/htsinfer/get_library_stats.py +++ b/htsinfer/get_library_stats.py @@ -60,14 +60,14 @@ def evaluate(self) -> ResultsStats: self.fastq_get_stats_read_length(fastq=self.paths[0]) ) # process file 2 - LOGGER.info(f"Obtaining statistics for file: {self.paths[0]}") + LOGGER.info(f"Obtaining statistics for file: {self.paths[1]}") if self.paths[1] is not None: (stats.file_2.read_length.min, stats.file_2.read_length.max, stats.file_2.read_length.mean, stats.file_2.read_length.median, stats.file_2.read_length.mode) = ( - self.fastq_get_stats_read_length(fastq=self.paths[0]) + self.fastq_get_stats_read_length(fastq=self.paths[1]) ) return stats