Skip to content

Commit d6e2ec9

Browse files
committed
improve msg error sentence about missing input file
1 parent e961492 commit d6e2ec9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sourceCode/application/logic/model/core/InputFilesCheckerForComputation.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,12 @@ bool InputFilesForComputationMatchWithRequierement::check_PX1PX2Together_DeltazA
107107
bPX1PX2_empty = true;
108108
} else {
109109
if (bPX1_empty) {
110-
strMsgErrorDetails = "Missing mandatory non independant input file: " + _tqstrDescName_image[eLA_PX1];
110+
strMsgErrorDetails = "Missing mandatory input file for " + _tqstrDescName_image[eLA_PX1];//'Missing mandatory non independent input file'
111111
qDebug() << __FUNCTION__<< strMsgErrorDetails;
112112
return(false);
113113
}
114114
if (bPX2_empty) {
115-
strMsgErrorDetails = "Missing mandatory non independant input file: " + _tqstrDescName_image[eLA_PX2];
115+
strMsgErrorDetails = "Missing mandatory input file for " + _tqstrDescName_image[eLA_PX2]; //'Missing mandatory non independent input file'
116116
qDebug() << __FUNCTION__<< strMsgErrorDetails;
117117
return(false);
118118
}
@@ -144,7 +144,7 @@ bool InputFilesForComputationMatchWithRequierement::check_PX1PX2Together_DeltazA
144144
} else {
145145
bool bNoError = !_inputFiles._qvectStr_correlationScore_PX1_PX2_DeltaZ[eLA_CorrelScoreForPX1PX2Together].isEmpty();
146146
if (!bNoError) {
147-
strMsgErrorDetails = "Missing mandatory correlation score input file for PX1,PX2";
147+
strMsgErrorDetails = "Missing correlation score map input file for Px1,Px2";
148148
return(false);
149149
}
150150
_qvect_eSFC_correlScoreFilesFor_PX1_PX2_DeltaZ[eLA_CorrelScoreForPX1PX2Together] = e_sFC_checkInProgress;
@@ -156,7 +156,7 @@ bool InputFilesForComputationMatchWithRequierement::check_PX1PX2Together_DeltazA
156156
} else {
157157
bool bNoError = !_inputFiles._qvectStr_correlationScore_PX1_PX2_DeltaZ[eLA_CorrelScoreForDeltaZAlone].isEmpty();
158158
if (!bNoError) {
159-
strMsgErrorDetails = "Missing mandatory correlation score input file for DeltaZ";
159+
strMsgErrorDetails = "Missing correlation score map input file for deltaZ";
160160
return(false);
161161
}
162162
_qvect_eSFC_correlScoreFilesFor_PX1_PX2_DeltaZ[eLA_CorrelScoreForDeltaZAlone] = e_sFC_checkInProgress;
@@ -167,7 +167,7 @@ bool InputFilesForComputationMatchWithRequierement::check_PX1PX2Together_DeltazA
167167
if (!_inputFiles._qvectStr_inputFile_PX1_PX2_DeltaZ[eLA_PX1].compare(
168168
_inputFiles._qvectStr_inputFile_PX1_PX2_DeltaZ[eLA_PX2],
169169
Qt::CaseInsensitive)) {
170-
strMsgErrorDetails = "Mandatory non independant input files have to be different";
170+
strMsgErrorDetails = "Input files for Px1 and Px2 have to be different"; //'Mandatory non independant input files have to be different'
171171
return(false);
172172
}
173173
}

0 commit comments

Comments
 (0)