Skip to content
Merged
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
2 changes: 1 addition & 1 deletion interfaces/ASE_interface/abacuslite/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def switch_io_backend_version(version: str) -> bool:
for detailed discussion, see issue #7260
'''
global __LEGACYIO__
m = re.match(r'^v(\d+)\.(\d+)\.(\d+)(\.\d+|\-(alpha|beta|rc)\.\d+)?$', version)
m = re.match(r'^v(\d+)\.(\d+)\.(\d+)(\.\d+|\-(alpha|beta|rc)\.\d+|\-(alpha|beta|rc)\d+)?$', version)
assert m, f'Invalid format of version number, please check file version.h'
assert int(m.group(1)) >= 3, f'ABACUS v2.x is not supported'
if int(m.group(2)) >= 11:
Expand Down
Loading