From 782064b51cce5640f57c71ed5046edfa0d5b4edc Mon Sep 17 00:00:00 2001 From: Ed Nutting Date: Wed, 14 Jan 2026 14:48:56 +0000 Subject: [PATCH 1/2] Fix example specification in README Gator only supports dependencies on peer jobs/job groups, not children of peers. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d1926b0..8811bcc 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ A simple specification may look like this: - !JobArray ident : counting on_pass: - - say_hi + - inner repeats: 4 jobs : - !Job From 5ab5d45373481be57d9593bf35015a58f03f0f78 Mon Sep 17 00:00:00 2001 From: Ed Nutting Date: Wed, 14 Jan 2026 14:51:28 +0000 Subject: [PATCH 2/2] Fix Issue 22: Slurm expiry test had inverted condition The fix is to test that the expiry time is in the past, i.e. less than the current time. --- gator/scheduler/slurm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gator/scheduler/slurm.py b/gator/scheduler/slurm.py index 42d0017..5e3f766 100644 --- a/gator/scheduler/slurm.py +++ b/gator/scheduler/slurm.py @@ -69,7 +69,7 @@ def __init__( @property def expired(self) -> bool: - return (self._expiry is None) or (self._expiry >= datetime.now()) + return (self._expiry is None) or (self._expiry <= datetime.now()) @property def token(self) -> str: