mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#596) Trim whitespace as first step to fix this issue
This commit is contained in:
parent
44463f3a41
commit
56e6fd1f6b
@ -438,7 +438,8 @@ void RimWellPathAsciiFileReader::readAllWellData(QString filePath)
|
||||
fileWellDataArray.push_back(WellData());
|
||||
fileWellDataArray.back().m_wellPathGeometry = new RigWellPath();
|
||||
|
||||
fileWellDataArray.back().m_name = wellName.c_str();
|
||||
QString name = wellName.c_str();
|
||||
fileWellDataArray.back().m_name = name.trimmed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user