From f910ac5b0fb0ebdde06a9e47ce2e5e8cfe54ddd2 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 22 May 2020 12:52:21 +0200 Subject: [PATCH] #5808 Summary Plot : Exclude *WCT vectors as cumulative vectors --- ApplicationCode/FileInterface/RifEclipseSummaryAddress.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ApplicationCode/FileInterface/RifEclipseSummaryAddress.cpp b/ApplicationCode/FileInterface/RifEclipseSummaryAddress.cpp index 7637b0d8f6..5b1249c8b8 100644 --- a/ApplicationCode/FileInterface/RifEclipseSummaryAddress.cpp +++ b/ApplicationCode/FileInterface/RifEclipseSummaryAddress.cpp @@ -828,6 +828,13 @@ bool RifEclipseSummaryAddress::hasAccumulatedData() const } QString qBaseName = baseQuantityName( quantityForInspection ); + + if ( qBaseName.endsWith( "WCT" ) || qBaseName.endsWith( "WCTH" ) ) + { + // https://github.com/OPM/ResInsight/issues/5808 + return false; + } + return qBaseName.endsWith( "T" ) || qBaseName.endsWith( "TH" ); }