mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
#8069 Summary ESMRY : Improve robustness and error reporting
This commit is contained in:
1 parent
6440bd5b8d
commit
e5e1f59aef
2 files changed
+32
-6
No files matched your search
@@ -124,7 +124,11 @@ std::string RifOpmHdf5Summary::unitName( const RifEclipseSummaryAddress& resultA
|
||||
{
|
||||
auto index = it->second;
|
||||
auto node = m_eSmry->summaryNodeList()[index];
|
||||
return m_eSmry->get_unit( node );
|
||||
|
||||
if ( m_eSmry->hasKey( node.keyword ) )
|
||||
{
|
||||
return m_eSmry->get_unit( node );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user