Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/12796/head
Matthias 3 months ago committed by GitHub
parent 5fb963abbf
commit c5697c7d68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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-([^_]+)_(\d{10})")
pattern = re.compile(r"^sub-train-(.+)_(\d{10})$")
delete_dict: dict[str, Any] = {}

Loading…
Cancel
Save