#2003 Observed Data : Collect detection of string types

This commit is contained in:
Magne Sjaastad 2017-11-06 11:40:37 +01:00
parent 8a8234fd66
commit 6b18493599

View File

@ -743,10 +743,6 @@ std::vector<ColumnInfo> RifEclipseUserDataParserTools::columnInfoFromColumnHeade
RifEclipseSummaryAddress adr = RifEclipseUserDataKeywordTools::makeAndFillAddress(quantity, restOfHeader);
ColumnInfo ci = ColumnInfo::createColumnInfo(quantity, unit, adr);
if (RifEclipseUserDataKeywordTools::isStepType(quantity))
{
ci.isStringData = true;
}
table.push_back(ci);
}
@ -878,6 +874,10 @@ ColumnInfo ColumnInfo::createColumnInfo(const std::string& quantity, const std::
{
ci.isStringData = true;
}
else if (RifEclipseUserDataKeywordTools::isStepType(quantity))
{
ci.isStringData = true;
}
return ci;
}