#2227 Well formations: Handle "+" in formation name file input

This commit is contained in:
Rebecca Cox committed 2017-12-11 15:12:12 +01:00
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;