From ebac0712124dd68219f7f25fb9a015ab44305a82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ma=C3=ABl=20Madon?= <mael.madon@irit.fr>
Date: Fri, 10 Mar 2023 15:31:30 +0100
Subject: [PATCH] fix bad warning message

---
 swf2userSessions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swf2userSessions.py b/swf2userSessions.py
index d22f9a8..00fbe1d 100755
--- a/swf2userSessions.py
+++ b/swf2userSessions.py
@@ -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 
 
-- 
GitLab