Skip to content

Commit

Permalink
fix: statistics from second mate #151
Browse files Browse the repository at this point in the history
  • Loading branch information
balajtimate committed Dec 1, 2023
1 parent 62fbf72 commit 195a42f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htsinfer/get_library_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 195a42f

Please sign in to comment.