aboutsummaryrefslogtreecommitdiff
path: root/r_qtl
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-24 16:05:08 -0500
committerFrederick Muriuki Muriithi2024-10-24 16:05:08 -0500
commit42b743a5ef07d3c75524df3e58acd65e9f85456f (patch)
tree5bbe889dd0792bb78aa8987dcf15e21b44f30ec2 /r_qtl
parent5a3fb0f96a29666ef3ce698b76d49c1c1178a7f6 (diff)
downloadgn-uploader-42b743a5ef07d3c75524df3e58acd65e9f85456f.tar.gz
Fix linting and typing errors.
Diffstat (limited to 'r_qtl')
-rw-r--r--r_qtl/r_qtl2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/r_qtl/r_qtl2.py b/r_qtl/r_qtl2.py
index 5b926d1..c6307f5 100644
--- a/r_qtl/r_qtl2.py
+++ b/r_qtl/r_qtl2.py
@@ -566,7 +566,7 @@ def read_text_file(filepath: Union[str, Path]) -> Iterator[str]:
def read_csv_file(filepath: Union[str, Path],
separator: str = ",",
- comment_char: str = "#") -> Iterator[str]:
+ comment_char: str = "#") -> Iterator[tuple[str, ...]]:
"""Read a file as a csv file."""
for line in read_text_file(filepath):
if line.startswith(comment_char):