bug fix no reciever could not set file name for mythen for eg., also bug fix that did not allow _s, _S, _p, _d as suffix to file name

This commit is contained in:
Dhanya Maliakal
2017-12-08 12:04:59 +01:00
parent 8c123982d2
commit e19d564364
2 changed files with 17 additions and 9 deletions

View File

@ -5274,7 +5274,8 @@ string multiSlsDetector::setFileName(string s) {
if(!s.empty()){
fileIO::setFileName(s);
s=createReceiverFilePrefix();
if (thisMultiDetector->receiverOnlineFlag == ONLINE_FLAG)
s=createReceiverFilePrefix();
}
if(!threadpool){
@ -5308,7 +5309,7 @@ string multiSlsDetector::setFileName(string s) {
}
}
if ((ret != "error") || (ret != "")) {
if ((thisMultiDetector->receiverOnlineFlag == ONLINE_FLAG) && ((ret != "error") || (ret != ""))) {
#ifdef VERBOSE
std::cout << "Complete file prefix from receiver: " << ret << std::endl;
#endif