mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#3133 CSV import. Assume that all data columns are numeric columns
This commit is contained in:
1 parent
ec26d8638a
commit
9fd38064df
3 files changed
+5
-2
No files matched your search
@@ -256,7 +256,7 @@ bool RifCsvUserDataParser::parseData(const AsciiDataParseOptions& parseOptions)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (RiaStdStringTools::isNumber(colData, parseOptions.locale.decimalPoint().toAscii()))
|
||||
if (parseOptions.assumeNumericDataColumns || RiaStdStringTools::isNumber(colData, parseOptions.locale.decimalPoint().toAscii()))
|
||||
{
|
||||
col.dataType = Column::NUMERIC;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user