fix: dispatcher passe frames_dir (job dir) pas parent a pre_decimate
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user