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

Simulation stages cannot be restarted in case of an error #272

Closed
a-ws-m opened this issue Sep 4, 2023 · 1 comment · Fixed by #278
Closed

Simulation stages cannot be restarted in case of an error #272

a-ws-m opened this issue Sep 4, 2023 · 1 comment · Fixed by #278
Milestone

Comments

@a-ws-m
Copy link
Contributor

a-ws-m commented Sep 4, 2023

mdpow.restart.start() raises a JournalSequenceError if there is any incomplete stage, even if the stage that you are trying to start is the incomplete one:

JournalSequenceError: Cannot start stage MD_NPT because previously started stage MD_NPT has not been completed.

I think the check should pass if stage == self.current, as well.

@orbeckst
Copy link
Member

Yes, that sounds like a logic error in the code.

@orbeckst orbeckst linked a pull request Oct 9, 2024 that will close this issue
@orbeckst orbeckst added this to the 0.9.0 milestone Oct 10, 2024
orbeckst added a commit to a-ws-m/MDPOW that referenced this issue Oct 11, 2024
- fix Becksteinlab#272
- JournalSequenceError was raised if there was any incomplete stage, even if the stage that you are trying to start is the incomplete one
- add tests for mdpow.restart
- clarified docs for Journal and Journalled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants