From 18b3e0e8e9e761df7d86738faecdf61f78dc1a99 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sat, 25 Apr 2026 16:32:26 +0000 Subject: [PATCH] fix: dispatcher passe frames_dir (job dir) pas parent a pre_decimate --- scripts/dispatcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dispatcher.py b/scripts/dispatcher.py index 6fc2484..0b5df76 100644 --- a/scripts/dispatcher.py +++ b/scripts/dispatcher.py @@ -821,10 +821,10 @@ def _post_job_qc_sync(job_id: int, worker: dict, frames_dir: str): print(f" post_job #{job_id}: worker={worker['host']} != ml-stack, skip QC sync", flush=True) return alias = ML_STACK_ALIAS - parent = str(Path(frames_dir).parent) + # frames_dir is already the job dir pre_cmd = ( f"python3 {_PRE_DECIMATE} {job_id} " - f"--frames-dir {shlex.quote(parent)} " + f"--frames-dir {shlex.quote(frames_dir)} " f"> /tmp/pre_decimate_{job_id}.log 2>&1" ) rc_pre, _, _ = ssh(alias, pre_cmd, timeout=600)