Merge pull request #12796 from onerobotband/develop

Fix regex pattern for model folder matching
This commit is contained in:
Matthias
2026-02-09 08:33:35 +01:00
committed by GitHub

View File

@@ -446,7 +446,7 @@ class FreqaiDataDrawer:
model_folders = [x for x in self.full_path.iterdir() if x.is_dir()]
pattern = re.compile(r"sub-train-(\w+)_(\d{10})")
pattern = re.compile(r"^sub-train-(.+)_(\d{10})$")
delete_dict: dict[str, Any] = {}