From 4c9f3cff0f76f326e85fc238d65393f0d69aa1f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Jensen?= Date: Wed, 28 Nov 2018 09:20:52 +0100 Subject: [PATCH] #3770 Import perforations. Fix spaces in well name issue --- ApplicationCode/FileInterface/RifPerforationIntervalReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/FileInterface/RifPerforationIntervalReader.cpp b/ApplicationCode/FileInterface/RifPerforationIntervalReader.cpp index 93d70b6210..8b0b9fb868 100644 --- a/ApplicationCode/FileInterface/RifPerforationIntervalReader.cpp +++ b/ApplicationCode/FileInterface/RifPerforationIntervalReader.cpp @@ -80,7 +80,7 @@ void RifPerforationIntervalReader::readFileIntoMap(const QString& filePath, std: if (line.startsWith("WELLNAME")) { // Save current well name - if (parts.size() == 2) + if (parts.size() > 1) { wellName = parts[1].trimmed(); }