We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb21d09 commit a881ab2Copy full SHA for a881ab2
1 file changed
src/somd2/runner/_runner.py
@@ -938,6 +938,9 @@ def generate_lam_vals(lambda_base, increment=0.001):
938
# Calculate the speed in nanoseconds per day.
939
speed = time.to("ns") / days
940
941
+ # Create the lock.
942
+ lock = _FileLock(self._lock_file)
943
+
944
# Acquire the file lock to ensure that the checkpoint files are
945
# in a consistent state if read by another process.
946
with lock.acquire(timeout=self._config.timeout.to("seconds")):
0 commit comments