From 4a044801054cfc98a80f708f531c0fb2d4c004d7 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sun, 9 Jul 2023 17:15:39 +0200 Subject: [PATCH] buuuug --- slate/slate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slate/slate.py b/slate/slate.py index 265ff67..5bf5463 100644 --- a/slate/slate.py +++ b/slate/slate.py @@ -157,7 +157,7 @@ class Slate(): def run_slurm(self, filename, name): assert slurm_avaible, 'pyslurm does not seem to be installed on this system.' config = self.load_config(filename, name) - slurmC = self.consume(config, 'slurm', True) + slurmC = self.consume(config, 'slurm', expand=True) schedC = self.consume(config, 'scheduler') s_name = self.consume(slurmC, 'name') @@ -278,6 +278,8 @@ class Slate(): parser.add_argument("-w", "--worker", action="store_true") parser.add_argument("-j", "--job_id", default=None, type=int) + print('I have job_id ', args.job_id) + args = parser.parse_args() if args.worker: