fix: add DSExperiment type check and directory validation in log proc… (#535)

* fix: Add DSExperiment type check and directory validation in log processing

* style: Reformat FileNotFoundError message for readability
This commit is contained in:
you-n-g
2025-01-24 00:03:41 +08:00
committed by GitHub
parent 17526da856
commit 90ffb6cc8a
2 changed files with 29 additions and 24 deletions
+1 -1
View File
@@ -109,8 +109,8 @@ class LoopBase:
step_n -= 1
li, si = self.loop_idx, self.step_idx
name = self.steps[si]
logger.info(f"Start Loop {li}, Step {si}: {name}")
with logger.tag(f"Loop_{li}.{name}"):
start = datetime.datetime.now(datetime.timezone.utc)
func = getattr(self, name)