From 1c6f7a53b316cfc5276dcefc28fdeab43de12e66 Mon Sep 17 00:00:00 2001
From: "igor.fontana@irit.fr" <igor.fontana@irit.fr>
Date: Tue, 16 May 2023 17:19:15 +0200
Subject: [PATCH] Removed the walltime >= run_time filter

---
 batmenTools/swf_filter.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/batmenTools/swf_filter.py b/batmenTools/swf_filter.py
index 076c40a..614ca27 100755
--- a/batmenTools/swf_filter.py
+++ b/batmenTools/swf_filter.py
@@ -51,8 +51,7 @@ def filter_workload(input_swf:str, output_swf:str=None,
                 partition_id = int(res.group(SwfField.PARTITION_ID.value))
 
                 # Select jobs to keep
-                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 run_time >= 0 and submit_time >= 0)
                 select_partition = ((partitions_to_select is None) or
                                     (partition_id in partitions_to_select))
                 use_job = select_partition and (
-- 
GitLab