From 69c36c5aab2ea1bcab656353f3efcfefd3839ff0 Mon Sep 17 00:00:00 2001 From: Jintao Date: Sat, 28 Sep 2024 19:18:30 +0800 Subject: [PATCH] i and job --- arc/scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arc/scheduler.py b/arc/scheduler.py index c5db5dae09..fc5fdccf81 100644 --- a/arc/scheduler.py +++ b/arc/scheduler.py @@ -549,8 +549,8 @@ def schedule_jobs(self): job_list = self.running_jobs[label] for job_name in job_list: if 'conformer' in job_name: - i = get_i_from_job_name(job_name) - job = self.job_dict[label]['conformers'][i] + i = get_i_from_job_name(job_name) if 'conformer' in job_name else None + job = self.job_dict[label]['conformers'][i] if 'conformer' in job_name else self.job_dict[label]['sp'][job_name] if not (job.job_id in self.server_job_ids and job.job_id not in self.completed_incore_jobs): # this is a completed conformer job successful_server_termination = self.end_job(job=job, label=label, job_name=job_name)