Datasets:
ArXiv:
License:
Update Code/lmdb_access.py
Browse files- Code/lmdb_access.py +1 -2
Code/lmdb_access.py
CHANGED
|
@@ -2,8 +2,7 @@ import lmdb
|
|
| 2 |
import pickle
|
| 3 |
import gzip
|
| 4 |
|
| 5 |
-
lmdb_file = '/
|
| 6 |
-
lmdb_file = '/data/zacharykrueger321/Full/PubChemQC-Traj-Test/test/test.lmdb'
|
| 7 |
|
| 8 |
with lmdb.open(lmdb_file, readonly=True, subdir=False) as env:
|
| 9 |
with env.begin() as txn:
|
|
|
|
| 2 |
import pickle
|
| 3 |
import gzip
|
| 4 |
|
| 5 |
+
lmdb_file = '/path/to/lmdb/dir/hokusai2017.lmdb'
|
|
|
|
| 6 |
|
| 7 |
with lmdb.open(lmdb_file, readonly=True, subdir=False) as env:
|
| 8 |
with env.begin() as txn:
|