mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 00:42:12 -05:00
#2227 Well formations: Handle "+" in formation name file input
This commit is contained in:
1 parent
c3cd0a650e
commit
864b9466d5
1 file changed
+6
@@ -280,6 +280,12 @@ RigWellPathFormations::FormationLevel RigWellPathFormations::detectLevel(QString
|
||||
|
||||
QString levelDescriptor = levelDesctiptorCandidates[0];
|
||||
|
||||
QStringList joinedLevel = levelDescriptor.split('+');
|
||||
if ( joinedLevel.size() > 1 )
|
||||
{
|
||||
levelDescriptor = joinedLevel[0];
|
||||
}
|
||||
|
||||
int dotCount = levelDescriptor.count('.');
|
||||
|
||||
size_t level = dotCount + 1;
|
||||
|
||||
Reference in new issue
Block a user