Skip to content

Commit

Permalink
i and job
Browse files Browse the repository at this point in the history
  • Loading branch information
JintaoWu98 committed Sep 28, 2024
1 parent 6a708a8 commit 69c36c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arc/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 69c36c5

Please sign in to comment.