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
......@@ -143,7 +143,7 @@ void BaseConfig::readTSVInput(std::string_view tsvFilename)
get(isMultiColName, getNbLines()-1, 0) = EOSSymbol0;
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]);
get(i, getNbLines()-1, 0) = value;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment