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

propagate previous change in swf2batsim_split_by_user

parent 1c6f7a53
No related branches found
No related tags found
No related merge requests found
...@@ -71,8 +71,7 @@ def generate_workload(input_swf:str, output_folder:str, ...@@ -71,8 +71,7 @@ def generate_workload(input_swf:str, output_folder:str,
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 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