Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printing too many frames in trajectory files #354

Open
GregorySchwing opened this issue Jun 13, 2021 · 1 comment
Open

Printing too many frames in trajectory files #354

GregorySchwing opened this issue Jun 13, 2021 · 1 comment

Comments

@GregorySchwing
Copy link
Collaborator

Describe the bug
A frame is duplicated in a trajectory file. We are unable to print out a single frame at the end of a simulation. We desire to run a n step simulation, and print to trajectory every n steps. This should only produce 1 frame, but it is producing > 1.

To Reproduce
Run a simulation for 10 steps. Set DCDFreq to 10 and CoordinatesFreq to 10.

Expected behavior
1 frame should be printed, the coordinates at the end of the simulation.

@bc118
Copy link
Collaborator

bc118 commented Jun 13, 2021

This may want to be fixed in the future. For example, when we restart a simulation, the last frame of old previous simulation and the first frame of the restarted simulation will be the same. If your counting steps it will shift them to be off, by having duplicate trajectories.

Ideally, we want the initial trajectory to be recorded for the start of the simulation, but not on a restart. If we are just stabilizing a system, it is likely best just to start from an equilibrium pdb and psf, and not do a restart for MC. Alternatively, we may want an option here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants