Skip to content

Commit 8f314bd

Browse files
committed
fix: PyPSA v1 compatibility follow up
1 parent bb0fdfe commit 8f314bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
REGION_COLS = ["geometry", "name", "x", "y", "country"]
3131

32-
PYPSA_V1 = bool(re.match(r"^0\.35\.0\.post1\.dev\d{3}", pypsa.__version__))
32+
PYPSA_V1 = bool(re.match(r"^0\.35\.\d\.post1\.dev\d{3}", pypsa.__version__))
3333

3434

3535
def get_scenarios(run):

0 commit comments

Comments
 (0)