mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-20 07:41:59 +01:00
Merge branch 'developer' of github.com:slsdetectorgroup/slsDetectorPackage into developer
This commit is contained in:
@@ -3047,9 +3047,9 @@ string slsDetectorCommand::cmdSettingsDir(int narg, char *args[], int action){
|
||||
if (action==PUT_ACTION) {
|
||||
myDet->setSettingsDir(string(args[1]));
|
||||
}
|
||||
if (myDet->getSettingsDir()==NULL)
|
||||
if (myDet->getSettingsDir()=="")
|
||||
return string("undefined");
|
||||
return string(myDet->getSettingsDir());
|
||||
return myDet->getSettingsDir();
|
||||
}
|
||||
|
||||
|
||||
@@ -3077,9 +3077,9 @@ string slsDetectorCommand::cmdCalDir(int narg, char *args[], int action){
|
||||
if (action==PUT_ACTION) {
|
||||
myDet->setCalDir(string(args[1]));
|
||||
}
|
||||
if (myDet->getCalDir()==NULL)
|
||||
if ( (myDet->getCalDir()).empty() )
|
||||
return string("undefined");
|
||||
return string(myDet->getCalDir());
|
||||
return myDet->getCalDir();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user