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

align with batmen-tools: changed validity condition for jobs

parent 59f3ba70
No related merge requests found
Pipeline #6390 passed
......@@ -102,9 +102,6 @@ def check_sanity(job:Job):
if not( job.submit_time <= job.start_time <= job.finish_time ):
warnings.warn(f"Invalid job: job {job.id} don't have submit <= start <= finish time")
return False
if job.walltime < (job.finish_time - job.start_time):
warnings.warn(f"Invalid job: job {job.id} runtime > walltime")
return False
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment