Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for TM v7.6 #33

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion turbomoleio/output/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,12 +409,15 @@ def header(self):
# In this case turbomole version and build will be set to None.
# For example it may be:
# escf (node001) : TURBOMOLE rev. compiled 1 Jul 2018 at 20:38:15
r_version = r"V([\d\.]+\d)\s+.*"
#
# Note: TURBOMOLE 7.6 uses the notation 7-6. Catch it and convert to 7.6
r_version = r"V([\d\.-]+\d)\s+.*"
r_build = r"V[\d\.]+\d\s+\((.*)\)"
match_version = re.search(r_version, match.group(3).strip())
match_build = re.search(r_build, match.group(3).strip())
if match_version:
tm_version = match_version.group(1).strip()
tm_version = tm_version.replace("-", ".")
else:
tm_version = None
if match_build:
Expand Down
Loading