diff options
| author | Munyoki Kilyungi | 2025-07-16 22:42:52 +0300 |
|---|---|---|
| committer | BonfaceKilz | 2025-07-16 22:50:04 +0300 |
| commit | 4cce892e2249d52e3d3586703ece7bf4fb99127e (patch) | |
| tree | 0f8a35372d57876e52e732be4f596f884d880bcb | |
| parent | cef838a0905eb52982c2cda822bb202029b8861f (diff) | |
| download | genenetwork3-4cce892e2249d52e3d3586703ece7bf4fb99127e.tar.gz | |
Set a larger map size for the larger genotype files.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| -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 6407716..c9bb097 100644 --- a/scripts/lmdb_matrix.py +++ b/scripts/lmdb_matrix.py @@ -333,7 +333,7 @@ def read_genotype_file(genotype_file: str) -> GenotypeMatrix: def create_database(db_path: str) -> lmdb.Environment: """Create or open an LMDB environment.""" - return lmdb.open(db_path, map_size=100 * 1024 * 1024, create=True) + return lmdb.open(db_path, map_size=100 * 1024 * 1024 * 1024, create=True) def genotype_db_put(db: lmdb.Environment, genotype: GenotypeMatrix) -> bool: |
