mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Support setting Wbs-parameters from Python.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "RicNewWellBoreStabilityPlotFeature.h"
|
||||
|
||||
#include "RiaColorTables.h"
|
||||
#include "RiaLogging.h"
|
||||
|
||||
#include "RicNewWellLogCurveExtractionFeature.h"
|
||||
#include "RicNewWellLogFileCurveFeature.h"
|
||||
@@ -175,6 +176,13 @@ void RicNewWellBoreStabilityPlotFeature::onActionTriggered( bool isChecked )
|
||||
return;
|
||||
}
|
||||
|
||||
if ( !wellPath->wellPathGeometry() )
|
||||
{
|
||||
RiaLogging::warning( QString( "The well path %1 has no geometry. Cannot create a Well Bore Stability Plot" )
|
||||
.arg( wellPath->name() ) );
|
||||
return;
|
||||
}
|
||||
|
||||
createPlot( geoMechCase, wellPath, view->currentTimeStep() );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user