diff options
| author | Munyoki Kilyungi | 2025-07-17 09:42:13 +0300 |
|---|---|---|
| committer | Munyoki Kilyungi | 2025-07-17 09:42:13 +0300 |
| commit | eb8d16fd67fc954e29ae899eddc4ec23356dbff8 (patch) | |
| tree | def34c9ab4ae521ad5aa07404507d7f1b1a7276c /scripts/lmdb_matrix.py | |
| parent | aacf63b16aa5d77232d38e45b04c717203d1a5af (diff) | |
| download | genenetwork3-eb8d16fd67fc954e29ae899eddc4ec23356dbff8.tar.gz | |
Skip blank lines.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'scripts/lmdb_matrix.py')
| -rw-r--r-- | scripts/lmdb_matrix.py | 2 |
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() |
