mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3553 Temp LGR. Error handling, bug fixes
This commit is contained in:
@@ -2526,6 +2526,7 @@ void RigCaseCellResultsData::assignValuesToTemporaryLgrs(const QString& re
|
||||
return;
|
||||
}
|
||||
|
||||
bool invalidCellsDetected = false;
|
||||
for (size_t gridIdx = 0; gridIdx < m_ownerMainGrid->gridCount(); gridIdx++)
|
||||
{
|
||||
const auto& grid = m_ownerMainGrid->gridByIndex(gridIdx);
|
||||
@@ -2549,9 +2550,14 @@ void RigCaseCellResultsData::assignValuesToTemporaryLgrs(const QString& re
|
||||
}
|
||||
else
|
||||
{
|
||||
RiaLogging::warning("Detected invalid/undefined cells when assigning result values to temporary LGRs");
|
||||
invalidCellsDetected = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (invalidCellsDetected)
|
||||
{
|
||||
RiaLogging::warning("Detected invalid/undefined cells when assigning result values to temporary LGRs");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user