From 318955865c461b79a18f73f92fc98a5cc26e2694 Mon Sep 17 00:00:00 2001 From: Quentin Guilloteau Date: Sun, 21 Jul 2024 16:12:40 +0200 Subject: [PATCH] typo --- workflow/scripts/submission_g5k.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/scripts/submission_g5k.py b/workflow/scripts/submission_g5k.py index 8c5e42f..316ffb4 100644 --- a/workflow/scripts/submission_g5k.py +++ b/workflow/scripts/submission_g5k.py @@ -13,13 +13,13 @@ def submit_job(cluster, site, maximum_duration_minutes, checkpoint_minutes, is_b reservation_duration,\ job_type=job_type,\ additional_options=f"--checkpoint {checkpoint}",\ - command=f"{path_to_script} {command}"), site)])[0] + command=f"{path}/{script} {path} {command}"), site)])[0] return oar_job_id def wait_for_completion(oar_job_id, site, sleep_time): state = "Running" while state != "Terminated" and state != "Error": - time.sleep(sleeping_time) + time.sleep(sleep_time) info = get_oar_job_info(oar_job_id, site) state = info["state"]