#7036 Well Picks : Skip import of empty lines

This commit is contained in:
Magne Sjaastad
2020-11-23 16:11:49 +01:00
parent efd1ddca54
commit bf77e57e68

View File

@@ -231,6 +231,8 @@ void RifWellPathFormationReader::readFile( const QString& filePath,
QString unitName = dataLine[unitNameIndex];
unitName = unitName.trimmed();
if ( wellName.trimmed().isEmpty() && unitName.isEmpty() ) continue;
if ( mdIsPresent )
{
double mdTopValue = dataLine[measuredDepthTopIndex].toDouble();