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

fix bad warning message

parent 9b53db46
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ def check_sanity(job:Job):
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")
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