proper RUN block number for the error message.
This commit is contained in:
parent
f11f9a18f1
commit
c5cd11562b
@ -612,7 +612,7 @@ int main(int argc, char *argv[])
|
|||||||
for (unsigned int i=0; i < msrHandler->GetMsrRunList()->size(); i++) {
|
for (unsigned int i=0; i < msrHandler->GetMsrRunList()->size(); i++) {
|
||||||
success = runListCollection->Add(i, kFit);
|
success = runListCollection->Add(i, kFit);
|
||||||
if (!success) {
|
if (!success) {
|
||||||
cout << endl << ">> musrfit **ERROR** Couldn't handle run no " << i << " ";
|
cout << endl << ">> musrfit **ERROR** Couldn't handle run no " << i+1 << ": ";
|
||||||
cout << (*msrHandler->GetMsrRunList())[i].GetRunName()->Data();
|
cout << (*msrHandler->GetMsrRunList())[i].GetRunName()->Data();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user