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)