From 03d092422cac8c77457bbee027a0e46426d6c630 Mon Sep 17 00:00:00 2001
From: Ian Grant <ian.conway.grant@gmail.com>
Date: Thu, 15 May 2025 20:35:19 -0400
Subject: [PATCH] fix: prepend 'Resubmitted:' when writing resubmitted job IDs
 in file

---
 maap_utils/JobManager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maap_utils/JobManager.py b/maap_utils/JobManager.py
index 1bcdbcd..7d529fa 100644
--- a/maap_utils/JobManager.py
+++ b/maap_utils/JobManager.py
@@ -158,7 +158,7 @@ class JobManager:
                 job.submit()
                 # Append resubmitted job ID to file
                 with open(self.output_dir / "job_ids.txt", "a") as f:
-                    f.write(f"{job.job_id}\n")
+                    f.write(f"Resubmitted: {job.job_id}\n")
                 self.ledger.add_job(job)
             except Exception as e:
                 logging.error(f"Error resubmitting job: {e}")
-- 
GitLab