Make opm summary reader work with mixed casing (#7593)

* #7592 opm-common : Add case insensitive file search
* #7592 opm-common : Find file based on case insensitive search
* #7592 opm-common : Improve error messages
This commit is contained in:
Magne Sjaastad
2021-04-19 16:40:29 +02:00
committed by GitHub
parent b2d475dde2
commit a6277c0ddc
5 changed files with 88 additions and 8 deletions

View File

@@ -100,9 +100,16 @@ void RimFileSummaryCase::createSummaryReaderInterfaceThreadSafe( RiaThreadSafeLo
//--------------------------------------------------------------------------------------------------
void RimFileSummaryCase::createSummaryReaderInterface()
{
RiaThreadSafeLogger threadSafeLogger;
m_summaryFileReader = RimFileSummaryCase::findRelatedFilesAndCreateReader( this->summaryHeaderFilename(),
m_includeRestartFiles,
nullptr );
&threadSafeLogger );
auto messages = threadSafeLogger.messages();
for ( const auto& m : messages )
{
RiaLogging::info( m );
}
}
//--------------------------------------------------------------------------------------------------