aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--r_qtl/r_qtl2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/r_qtl/r_qtl2.py b/r_qtl/r_qtl2.py
index d7d81d1..ad9271c 100644
--- a/r_qtl/r_qtl2.py
+++ b/r_qtl/r_qtl2.py
@@ -76,6 +76,8 @@ def transpose_csv(
def __read_by_line__(_path):
with open(_path, "r", encoding="utf8") as infile:
for line in infile:
+ if line.startswith("#"):
+ continue
yield line
transposed_data= (f"{linejoinerfn(items)}\n" for items in zip(*(