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

Missing run stop prompts new run #277

Conversation

Modularius
Copy link
Contributor

Summary of changes

Adds "emergency_stop" function, so that when a RunStart is encountered whilst a run is currently running, the current run is halted and a new run begins.
If the new RunStart message has the same run_name field as the previous, this results in the previous run being overwritten.

Instruction for review/testing

General code review.

Behaviour has been tested with simulated runs.

@Modularius Modularius requested a review from DanNixon November 25, 2024 13:35
nexus-writer/src/nexus/engine.rs Outdated Show resolved Hide resolved
nexus-writer/src/nexus/run_parameters.rs Show resolved Hide resolved
@Modularius Modularius requested a review from DanNixon November 26, 2024 15:26
@DanNixon DanNixon merged commit 4feed17 into STFC-ICD-Research-and-Design:main Nov 27, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants