diff --git a/src/Learning/KWDataUtils/KWKey.cpp b/src/Learning/KWDataUtils/KWKey.cpp index b1b7076d8..d711b3c1d 100644 --- a/src/Learning/KWDataUtils/KWKey.cpp +++ b/src/Learning/KWDataUtils/KWKey.cpp @@ -59,7 +59,7 @@ const ALString KWKey::GetObjectLabel() const if (svFields.GetAt(i).GetLength() <= nFieldMaxLength) sFieldLabel = svFields.GetAt(i); else - sFieldLabel = svFields.GetAt(i).Right(nFieldMaxLength) + "..."; + sFieldLabel = svFields.GetAt(i).Left(nFieldMaxLength) + "..."; // Ajout du libelle du champ de cle sLabel += sFieldLabel; diff --git a/src/Learning/KWDataUtils/KWKeyPositionSampleExtractorTask.cpp b/src/Learning/KWDataUtils/KWKeyPositionSampleExtractorTask.cpp index ae30a4fb3..62c5f2161 100644 --- a/src/Learning/KWDataUtils/KWKeyPositionSampleExtractorTask.cpp +++ b/src/Learning/KWDataUtils/KWKeyPositionSampleExtractorTask.cpp @@ -690,7 +690,7 @@ boolean KWKeyPositionSampleExtractorTask::SlaveProcess() LongintToReadableString(recordKeyPosition->GetLineIndex() - previousRecordKeyPosition->GetLineIndex()) + " lines before", - nCumulatedLineNumber + inputFile.GetCurrentLineIndex() - 1); + nCumulatedLineNumber + inputFile.GetCurrentLineIndex()); delete recordKeyPosition; bOk = false; break; diff --git a/src/Learning/MODL/MODL.cpp b/src/Learning/MODL/MODL.cpp index 5a2d4ac5b..1afb0cfd9 100644 --- a/src/Learning/MODL/MODL.cpp +++ b/src/Learning/MODL/MODL.cpp @@ -34,9 +34,9 @@ int main(int argc, char** argv) Global::ActivateSignalErrorManagement(); // Choix du repertoire de lancement pour le debugage sous Windows (a commenter apres fin du debug) - SetWindowsDebugDir("Standard", "IrisLight"); + // SetWindowsDebugDir("Standard", "IrisLight"); // SetWindowsDebugDir("Standard", "Iris2D"); - // SetWindowsDebugDir("TextVariables", "BuildNonInterpretableNames"); + SetWindowsDebugDir("BugsMultiTables", "BugUnsortedRootTable"); // Parametrage des logs memoires depuis les variables d'environnement, pris en compte dans KWLearningProject // KhiopsMemStatsLogFileName, KhiopsMemStatsLogFrequency, KhiopsMemStatsLogToCollect @@ -58,7 +58,7 @@ int main(int argc, char** argv) // Simulation du mode parallele pour le debuggage // PLParallelTask::SetParallelSimulated(true); - // PLParallelTask::SetSimulatedSlaveNumber(2); + // PLParallelTask::SetSimulatedSlaveNumber(3); // PLParallelTask::SetTracerResources(1); // PLParallelTask::SetTracerProtocolActive(true); // PLParallelTask::SetTracerMPIActive(true);