aboutsummaryrefslogtreecommitdiff
path: root/quality_control
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-04-20 13:40:05 +0300
committerFrederick Muriuki Muriithi2022-04-20 13:40:05 +0300
commit7cd50dbc6dc5c14bb211699e7a7103e4f1453edd (patch)
treefffd75cce2410ee7993d53a5447ef00e41b93165 /quality_control
parent5897b6ec7fbd1226cd68a292122cc494e46f6829 (diff)
downloadgn-uploader-7cd50dbc6dc5c14bb211699e7a7103e4f1453edd.tar.gz
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.
Diffstat (limited to 'quality_control')
-rw-r--r--quality_control/parsing.py1
1 files changed, 1 insertions, 0 deletions
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")))