From e98b7a8627b09a883e48a9b4b883f6b1560da0e9 Mon Sep 17 00:00:00 2001 From: Laurent LAPORTE Date: Wed, 20 Sep 2023 12:11:55 +0200 Subject: [PATCH] chore: replace `COMPETING` with `COMPLETING` (typo) --- .../remote_environnement/remote_environment_with_slurm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/antareslauncher/remote_environnement/remote_environment_with_slurm.py b/antareslauncher/remote_environnement/remote_environment_with_slurm.py index 9aecbbe..71d75ba 100644 --- a/antareslauncher/remote_environnement/remote_environment_with_slurm.py +++ b/antareslauncher/remote_environnement/remote_environment_with_slurm.py @@ -75,7 +75,7 @@ class JobStateCodes(enum.Enum): COMPLETED = "COMPLETED" # Indicates that the only job on the node or that all jobs on the node are in the process of completing. - COMPETING = "COMPLETING" + COMPLETING = "COMPLETING" # Job terminated on deadline. DEADLINE = "DEADLINE" @@ -271,7 +271,7 @@ def get_job_state_flags( JobStateCodes.BOOT_FAIL: (False, False, False), JobStateCodes.CANCELLED: (True, True, True), JobStateCodes.COMPLETED: (True, True, False), - JobStateCodes.COMPETING: (True, False, False), + JobStateCodes.COMPLETING: (True, False, False), JobStateCodes.DEADLINE: (True, True, True), # similar to timeout JobStateCodes.FAILED: (True, True, True), JobStateCodes.NODE_FAIL: (True, True, True),