Changing Ensemble naming suggestion to be the iteration

This commit is contained in:
Gaute Lindkvist
2020-09-04 10:01:12 +02:00
parent e6dcb8257d
commit f6613a072d
7 changed files with 84 additions and 27 deletions

View File

@@ -330,13 +330,13 @@ QString RimSummaryCase::uniqueShortNameForCase( RimSummaryCase* summaryCase )
{
keyComponent = keyComponent.replace( numberGroup, "" );
QString stem = keyComponent.left( 2 );
QString stem = keyComponent.left( 4 );
if ( !stem.isEmpty() ) subComponents.push_back( stem );
subComponents.push_back( numberGroup );
}
else
{
subComponents.push_back( keyComponent.left( 4 ) );
subComponents.push_back( keyComponent.left( 6 ) );
}
shortNameComponents.push_back( subComponents.join( "-" ) );