There was an error while loading. Please reload this page.
1 parent 4031363 commit 5a8ff7cCopy full SHA for 5a8ff7c
1 file changed
interfaces/ASE_interface/abacuslite/core.py
@@ -66,7 +66,7 @@ def switch_io_backend_version(version: str) -> bool:
66
for detailed discussion, see issue #7260
67
'''
68
global __LEGACYIO__
69
- 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)
70
assert m, f'Invalid format of version number, please check file version.h'
71
assert int(m.group(1)) >= 3, f'ABACUS v2.x is not supported'
72
if int(m.group(2)) >= 11:
0 commit comments