We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d59d609 + 1768352 commit 351c665Copy full SHA for 351c665
openvariant/variant/variant.py
@@ -50,7 +50,7 @@ def _base_parser(mm_obj: mmap, file_path: str, delimiter: str, skip_files: bool)
50
for l_num, line in enumerate(iter(mm_obj.readline, b'')):
51
line = line.decode('utf-8')
52
row_line = line.split(AnnotationDelimiter[delimiter].value)
53
- row_line = list(map(lambda w: w.replace("\n", ""), row_line))
+ row_line = list(map(lambda w: w.rstrip("\r\n"), row_line))
54
55
if len(row_line) == 0:
56
continue
0 commit comments