about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--scripts/lmdb_matrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lmdb_matrix.py b/scripts/lmdb_matrix.py
index a66f2d1..efd7c58 100644
--- a/scripts/lmdb_matrix.py
+++ b/scripts/lmdb_matrix.py
@@ -170,7 +170,7 @@ def get_genotype_dimensions(genotype_file: str) -> tuple[int, int]:
             line = stream.readline()
             counter += 1
             match line:
-                case "" | _ if line.startswith(("#", "@")):
+                case "" | _ if line.startswith(("#", "@", "\n")):
                     continue
                 case _:
                     rows = line.split()