mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
not necessary to check file name
This commit is contained in:
parent
3525bb3f9f
commit
1e8c7bd637
@ -766,10 +766,10 @@ int qDrawPlot::GetData(detectorData *data,int fIndex, int subIndex){
|
|||||||
progress=(int)data->progressIndex;
|
progress=(int)data->progressIndex;
|
||||||
currentFrameIndex = fileIOStatic::getIndicesFromFileName(string(data->fileName),currentFileIndex);
|
currentFrameIndex = fileIOStatic::getIndicesFromFileName(string(data->fileName),currentFileIndex);
|
||||||
//happens if receiver sends a null and empty file name
|
//happens if receiver sends a null and empty file name
|
||||||
if(string(data->fileName).empty()){
|
/*if(string(data->fileName).empty()){
|
||||||
cout << "Received empty file name. Exiting function without updating data for plot." << endl;
|
cout << "Received empty file name. Exiting function without updating data for plot." << endl;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}*/
|
||||||
#ifdef VERYVERBOSE
|
#ifdef VERYVERBOSE
|
||||||
cout << "progress:" << progress << endl;
|
cout << "progress:" << progress << endl;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user