diff options
| author | Munyoki Kilyungi | 2025-08-03 16:36:34 +0300 |
|---|---|---|
| committer | BonfaceKilz | 2025-08-03 16:42:38 +0300 |
| commit | 392d3e8c3c452be8f0fe78852ad4aee6593c9d44 (patch) | |
| tree | 3da9e755d76562fb99e35edb5f6c35032a52c8ee | |
| parent | 7f4c5c30e3fbdce4a9d5289edd60af51fb9278f8 (diff) | |
| download | genenetwork3-392d3e8c3c452be8f0fe78852ad4aee6593c9d44.tar.gz | |
Fix mypy errors.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| -rw-r--r-- | scripts/lmdb_matrix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lmdb_matrix.py b/scripts/lmdb_matrix.py index 2d73315..22173af 100644 --- a/scripts/lmdb_matrix.py +++ b/scripts/lmdb_matrix.py @@ -384,8 +384,8 @@ def get_genotype_files(directory: str) -> list[tuple[str, int]]: def __import_directory(directory: str, lmdb_path: str): """Import all the genotype files from a given directory into LMDB.""" - for genofile, file_size in get_genotype_files(directory): - genofile = Path(genofile) + for file_, file_size in get_genotype_files(directory): + genofile = Path(file_) size_mb = file_size / (1024 ** 2) lmdb_store = (Path(lmdb_path) / genofile.stem).as_posix() print(f"Processing file: {genofile.name}") |
