From 7cd50dbc6dc5c14bb211699e7a7103e4f1453edd Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 20 Apr 2022 13:40:05 +0300 Subject: Update parameters for tests Derive a "correct" sample file from an existing sample file with errors for testing with large files. Fix issue caught by test. --- quality_control/parsing.py | 1 + 1 file changed, 1 insertion(+) (limited to 'quality_control') diff --git a/quality_control/parsing.py b/quality_control/parsing.py index 6e5bb8f..abed22e 100644 --- a/quality_control/parsing.py +++ b/quality_control/parsing.py @@ -63,6 +63,7 @@ def parse_file(filepath: str, filetype: FileType, strains: list): if line_number == 0: yield __parse_header(line, strains) seek_pos = seek_pos + len(line) + continue yield LINE_PARSERS[filetype]( tuple(field.strip() for field in line.split("\t"))) -- cgit v1.2.3