Skip to content

Commit b76519e

Browse files
committed
Add save_trajectories option to conditional.
1 parent 6a72b9e commit b76519e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/somd2/runner/_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ def __init__(self, system, config):
124124

125125
# Flag whether frames are being saved.
126126
if (
127-
self._config.frame_frequency > 0
127+
self.config.save_trajectories
128+
and self._config.frame_frequency > 0
128129
and self._config.frame_frequency <= self._config.runtime
129130
):
130131
self._save_frames = True

0 commit comments

Comments
 (0)