make sure that the run template number has at least 4 digits before proceeding.

This commit is contained in:
2024-09-17 16:27:04 +02:00
parent 00b012d0dd
commit 7838901fbe
2 changed files with 9 additions and 1 deletions

View File

@ -765,7 +765,7 @@ int main(int argc, char *argv[])
// Check if all given run numbers are covered by the formatting of the data file name
status = msr2dataHandler->CheckRunNumbersInRange();
if(status) {
if (status) {
std::cerr << std::endl;
std::cerr << ">> msr2data: **ERROR** At least one given run number is out of range! Quitting..." << std::endl;
return status;