#2027 Select well log on well log import

This commit is contained in:
Rebecca Cox
2017-10-20 14:05:42 +02:00
parent e9ee33a765
commit 53912c4152
3 changed files with 18 additions and 10 deletions

View File

@@ -287,11 +287,13 @@ void RimWellPathCollection::addWellPaths(const std::vector<RimWellPath*> wellPat
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellPathCollection::addWellLogs(const QStringList& filePaths)
RimWellLogFile* RimWellPathCollection::addWellLogs(const QStringList& filePaths)
{
RimWellLogFile* logFileInfo;
foreach (QString filePath, filePaths)
{
RimWellLogFile* logFileInfo = RimWellLogFile::readWellLogFile(filePath);
logFileInfo = RimWellLogFile::readWellLogFile(filePath);
if (logFileInfo)
{
RimWellPath* wellPath = wellPathByName(logFileInfo->wellName());
@@ -306,6 +308,8 @@ void RimWellPathCollection::addWellLogs(const QStringList& filePaths)
}
this->sortWellsByName();
return logFileInfo;
}
//--------------------------------------------------------------------------------------------------