Skip to content

Commit ca427ed

Browse files
committed
fix: added comment
1 parent a731246 commit ca427ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openvariant/variant/variant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
def _open_file(file_path: str, mode='r+b'):
2727
"""Open raw files or compressed files"""
28-
2928
if file_path.endswith('xz'):
3029
open_method = lzma.open
3130
file = open_method(file_path, mode)
@@ -38,6 +37,7 @@ def _open_file(file_path: str, mode='r+b'):
3837
return mm, file
3938

4039
def _detect_delimiter(line: str):
40+
"""Detects the dominant delimiter in a line"""
4141
sniffer = csv.Sniffer()
4242
try:
4343
dialect = sniffer.sniff(line, delimiters='\t,;')

0 commit comments

Comments
 (0)