From c3e19230b102790b656b4173e581aa905e8b4c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Madon?= <mael.madon@irit.fr> Date: Mon, 17 Apr 2023 17:01:23 +0200 Subject: [PATCH] change the validity conditions for a job --- batmenTools/swf2batsim_split_by_user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/batmenTools/swf2batsim_split_by_user.py b/batmenTools/swf2batsim_split_by_user.py index c2f3403..818049d 100755 --- a/batmenTools/swf2batsim_split_by_user.py +++ b/batmenTools/swf2batsim_split_by_user.py @@ -71,8 +71,8 @@ def generate_workload(input_swf, output_folder, if given_walltime_only: walltime = float(res.group(SwfField.REQUESTED_TIME.value)) - is_valid_job = (nb_res > 0 and walltime > - run_time and run_time > 0 and submit_time >= 0) + is_valid_job = (nb_res > 0 and walltime >= + run_time and run_time >= 0 and submit_time >= 0) if not is_valid_job: not_valid += 1 -- GitLab