diff --git a/batmenTools/swf_filter.py b/batmenTools/swf_filter.py index 3ee2339be9f9a4cdd56b379268f5b2253617a3a6..076c40a1eb9a16f8f95a2e756862ea99ee74fce8 100755 --- a/batmenTools/swf_filter.py +++ b/batmenTools/swf_filter.py @@ -51,8 +51,8 @@ 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 walltime >= + run_time 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 (