formatting

This commit is contained in:
2023-10-24 11:17:18 +02:00
parent d44329117d
commit 91140bbb71
5 changed files with 20 additions and 19 deletions

View File

@ -861,7 +861,8 @@ void Detector::stopDetector(Positions pos) {
// idle before stopping will return running (after async start script) when
// getting status after, which will then be stopped again.
while (!status.contains_only(defs::runStatus::IDLE, defs::runStatus::STOPPED)){
while (!status.contains_only(defs::runStatus::IDLE,
defs::runStatus::STOPPED)) {
if (status.any(defs::runStatus::ERROR)) {
throw RuntimeError("Could not stop detector. At least one module "
"returned error status.");