mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3433 Fracture header : Skip text containing folder path to make output stable
This commit is contained in:
parent
461e3b87b8
commit
21c2c62908
@ -19,6 +19,7 @@
|
||||
#include "RicWellPathFractureTextReportFeatureImpl.h"
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaRegressionTestRunner.h"
|
||||
|
||||
#include "RicExportFractureCompletionsImpl.h"
|
||||
#include "RicWellPathFractureReportItem.h"
|
||||
@ -86,20 +87,7 @@ QString RicWellPathFractureTextReportFeatureImpl::wellPathFractureReport(
|
||||
|
||||
textStream << lineStart << "\n";
|
||||
|
||||
if (sourceCase)
|
||||
{
|
||||
textStream << lineStart << " Grid Model:\n";
|
||||
textStream << lineStart << " " << sourceCase->gridFileName() << "\n";
|
||||
textStream << lineStart << "\n";
|
||||
}
|
||||
|
||||
{
|
||||
QString tableText = createWellFileLocationText(wellPaths);
|
||||
textStream << tableText;
|
||||
textStream << lineStart << "\n";
|
||||
}
|
||||
|
||||
auto proj = RiaApplication::instance()->project();
|
||||
auto proj = RiaApplication::instance()->project();
|
||||
auto fractureTemplates = proj->activeOilField()->fractureDefinitionCollection()->fractureTemplates();
|
||||
|
||||
std::vector<RimStimPlanFractureTemplate*> stimPlanTemplates;
|
||||
@ -120,10 +108,28 @@ QString RicWellPathFractureTextReportFeatureImpl::wellPathFractureReport(
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!RiaRegressionTestRunner::instance()->isRunningRegressionTests())
|
||||
{
|
||||
QString tableText = createStimPlanFileLocationText(stimPlanTemplates);
|
||||
textStream << tableText;
|
||||
textStream << lineStart << "\n";
|
||||
if (sourceCase)
|
||||
{
|
||||
textStream << lineStart << " Grid Model:\n";
|
||||
textStream << lineStart << " " << sourceCase->gridFileName() << "\n";
|
||||
textStream << lineStart << "\n";
|
||||
}
|
||||
|
||||
{
|
||||
QString tableText = createWellFileLocationText(wellPaths);
|
||||
textStream << tableText;
|
||||
textStream << lineStart << "\n";
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
QString tableText = createStimPlanFileLocationText(stimPlanTemplates);
|
||||
textStream << tableText;
|
||||
textStream << lineStart << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user