Skip to content
Snippets Groups Projects
Commit c3e19230 authored by Maël Madon's avatar Maël Madon
Browse files

change the validity conditions for a job

parent b4d7c079
Branches
No related tags found
No related merge requests found
...@@ -71,8 +71,8 @@ def generate_workload(input_swf, output_folder, ...@@ -71,8 +71,8 @@ def generate_workload(input_swf, output_folder,
if given_walltime_only: if given_walltime_only:
walltime = float(res.group(SwfField.REQUESTED_TIME.value)) walltime = float(res.group(SwfField.REQUESTED_TIME.value))
is_valid_job = (nb_res > 0 and walltime > is_valid_job = (nb_res > 0 and walltime >=
run_time and run_time > 0 and submit_time >= 0) run_time and run_time >= 0 and submit_time >= 0)
if not is_valid_job: if not is_valid_job:
not_valid += 1 not_valid += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment