mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4731 Fix crash when importing formations or well paths after summary import in ensemble RFT
This commit is contained in:
parent
1e7acd8a10
commit
3e9bf9d1d8
@ -680,7 +680,7 @@ RigEclipseWellLogExtractor* RimWellLogRftCurve::extractor()
|
|||||||
RimWellPath* wellPath = proj->wellPathFromSimWellName( m_wellName() );
|
RimWellPath* wellPath = proj->wellPathFromSimWellName( m_wellName() );
|
||||||
eclExtractor = wellLogCollection->findOrCreateExtractor( wellPath, m_eclipseResultCase );
|
eclExtractor = wellLogCollection->findOrCreateExtractor( wellPath, m_eclipseResultCase );
|
||||||
|
|
||||||
if ( !eclExtractor )
|
if ( !eclExtractor && m_eclipseResultCase )
|
||||||
{
|
{
|
||||||
QString simWellName = RimWellPlotTools::simWellName( m_wellName );
|
QString simWellName = RimWellPlotTools::simWellName( m_wellName );
|
||||||
std::vector<const RigWellPath*> wellPaths = RiaSimWellBranchTools::simulationWellBranches( simWellName,
|
std::vector<const RigWellPath*> wellPaths = RiaSimWellBranchTools::simulationWellBranches( simWellName,
|
||||||
|
Loading…
Reference in New Issue
Block a user