Skip to content

Commit

Permalink
[runrms] adapt to version format in RMS 14
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrivenaes committed Aug 23, 2023
1 parent 90e4efc commit 5c7131a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/subscript/runrms/runrms.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,14 @@ def _complete_version_fromproject(self):
For RMS 10.0.0 and 11.0.0 (etc) the release is reported as
10 or 11 in the .master file. Extend this to always have 3
fields e.g. 10 --> 10.0.0
fields e.g. 10 --> 10.0.0.
For version 14, there is now a V in front
"""

if self.version_fromproject.startswith("V"): # e.g. version V14.1
self.version_fromproject = self.version_fromproject[1:]

# valid for beta versions:
if not self.version_fromproject[0].isdigit():
return
Expand Down

0 comments on commit 5c7131a

Please sign in to comment.