#2120 Perforations import. Lookup well path by fuzzy method instead of exact name match

This commit is contained in:
Bjørn Erik Jensen 2017-12-22 13:39:31 +01:00
parent 6d236c24de
commit 0869a8edf5

View File

@ -73,7 +73,7 @@ void RicWellPathImportPerforationIntervalsFeature::onActionTriggered(bool isChec
for (auto& entry : perforationIntervals)
{
RimWellPath* wellPath = wellPathCollection->wellPathByName(entry.first);
RimWellPath* wellPath = wellPathCollection->tryFindMatchingWellPath(entry.first);
if (wellPath == nullptr)
{
RiaLogging::warning(QString("Import Well Path Perforation Intervals : Imported file contains unknown well path '%1'.").arg(entry.first));