Skip to content

Commit b04da2e

Browse files
Merge pull request #1 from francoviscarra/master
Load universe into memory
2 parents cf8a6ef + 88f2607 commit b04da2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyMEMENTO/mc_path_sampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __init__(
8181
for j in range(1, self.MODELS_PER_WINDOW + 1):
8282
self.universes[-1].append(
8383
mda.Universe(
84-
self.FOLDER + f"morph{i}/protein.B9999{str(j).zfill(4)}.pdb"
84+
self.FOLDER + f"morph{i}/protein.B9999{str(j).zfill(4)}.pdb", in_memory=True
8585
)
8686
)
8787

0 commit comments

Comments
 (0)