mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Ensure case is loaded before generating well target candidates
This commit is contained in:
parent
1466178cbc
commit
00488db082
@ -53,6 +53,8 @@ void RigWellTargetCandidatesGenerator::generateCandidates( RimEclipseCase*
|
||||
VolumeResultType volumeResultType,
|
||||
const ClusteringLimits& limits )
|
||||
{
|
||||
if ( !eclipseCase->ensureReservoirCaseIsOpen() ) return;
|
||||
|
||||
auto activeCellCount = getActiveCellCount( eclipseCase );
|
||||
if ( !activeCellCount )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user