Skip to content
Snippets Groups Projects
Commit 4f4cd7c3 authored by Franck Dary's avatar Franck Dary
Browse files

Corrected bug where special columns where filled by extra TSV columns

parent 675d8f42
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,7 @@ void BaseConfig::readTSVInput(std::string_view tsvFilename) ...@@ -143,7 +143,7 @@ void BaseConfig::readTSVInput(std::string_view tsvFilename)
get(isMultiColName, getNbLines()-1, 0) = EOSSymbol0; get(isMultiColName, getNbLines()-1, 0) = EOSSymbol0;
for (unsigned int i = 0; i < splited.size(); i++) for (unsigned int i = 0; i < splited.size(); i++)
if (i < colIndex2Name.size()) if (i < colIndex2Name.size() - extraColumns.size())
{ {
std::string value = std::string(splited[i]); std::string value = std::string(splited[i]);
get(i, getNbLines()-1, 0) = value; get(i, getNbLines()-1, 0) = value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment