From 791b37d0d9e1803a861d95297fa2061a24a7fe8b Mon Sep 17 00:00:00 2001 From: Samuel Letellier-Duchesne Date: Mon, 30 Aug 2021 09:31:33 -0400 Subject: [PATCH] Parsing valid E+ versions on Windows has been fixed --- archetypal/eplus_interface/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archetypal/eplus_interface/version.py b/archetypal/eplus_interface/version.py index 2dc9c1d17..0bc3f883f 100644 --- a/archetypal/eplus_interface/version.py +++ b/archetypal/eplus_interface/version.py @@ -166,7 +166,7 @@ def valid_idd_paths(self, value): else: _valid_paths = {} for iddname in iddnames: - match = re.search(r"V(\d-\d-\d)", str(iddname)) + match = re.search(".+V(\d-\d-\d)", str(iddname)) if match is None: # match the Idd file contained in basedir match = re.search(r"([\d]-[\d]-[\d])", iddname)