about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-07-16 22:42:52 +0300
committerBonfaceKilz2025-07-16 22:50:04 +0300
commit4cce892e2249d52e3d3586703ece7bf4fb99127e (patch)
tree0f8a35372d57876e52e732be4f596f884d880bcb /scripts
parentcef838a0905eb52982c2cda822bb202029b8861f (diff)
downloadgenenetwork3-4cce892e2249d52e3d3586703ece7bf4fb99127e.tar.gz
Set a larger map size for the larger genotype files.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'scripts')
-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 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: