#3770 Import perforations. Fix spaces in well name issue

This commit is contained in:
Bjørn Erik Jensen 2018-11-28 09:20:52 +01:00
parent 5496430de7
commit 4c9f3cff0f

View File

@ -80,7 +80,7 @@ void RifPerforationIntervalReader::readFileIntoMap(const QString& filePath, std:
if (line.startsWith("WELLNAME")) if (line.startsWith("WELLNAME"))
{ {
// Save current well name // Save current well name
if (parts.size() == 2) if (parts.size() > 1)
{ {
wellName = parts[1].trimmed(); wellName = parts[1].trimmed();
} }