Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 808d7cd2 authored by Jérémie Dudouet's avatar Jérémie Dudouet
Browse files

corr ShiftTrack

parent 6522de84
Pipeline #36640 passed with stage
in 6 minutes and 25 seconds
......@@ -501,14 +501,21 @@ void FSMainWindow::GetLastShiftTrack()
if(Buffer.BeginsWith("#") || Buffer.Length()==0 ) continue;
TObjArray *loa=Buffer.ReplaceAll("\t"," ").Tokenize(" ");
if(loa->GetEntries() != 2) {
if(loa->GetEntries() == 2) {
fListOfShiftTrack[linenb-1][0] = ((TString)loa->At(0)->GetName()).Atof();
fListOfShiftTrack[linenb-1][1] = ((TString)loa->At(1)->GetName()).Atof();
}
else if(loa->GetEntries() == 3) {
fListOfShiftTrack[linenb-1][0] = ((TString)loa->At(1)->GetName()).Atof();
fListOfShiftTrack[linenb-1][1] = ((TString)loa->At(2)->GetName()).Atof();
}
else {
WARN_MESS<<"Error in "<< FileName << " at line "<<linenb<<" ; bad number of parameters ==> file ignored"<<ENDL;
FileConf.close();
return;
}
fListOfShiftTrack[linenb-1][0] = ((TString)loa->At(0)->GetName()).Atof();
fListOfShiftTrack[linenb-1][1] = ((TString)loa->At(1)->GetName()).Atof();
// cout<<linenb-1<<" "<<fListOfShiftTrack[linenb-1][0]<<" "<<fListOfShiftTrack[linenb-1][1]<<endl;
delete loa;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment