mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3770 Import perforations. Fix spaces in well name issue
This commit is contained in:
parent
5496430de7
commit
4c9f3cff0f
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user