add separator in folder name just incase an asset ends in an integer

This commit is contained in:
robcaulk
2022-07-21 11:25:28 +02:00
parent c9a6dc88a1
commit e7337728bf
3 changed files with 29 additions and 21 deletions

View File

@@ -301,7 +301,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-(\w+)_(\d{10})")
delete_dict: Dict[str, Any] = {}