Skip to content

Commit

Permalink
Pass number_of_radicals to Job in Scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Apr 10, 2019
1 parent da79b56 commit 6e62b2a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arc/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@ def run_job(self, label, xyz, level_of_theory, job_type, fine=False, software=No
shift=shift, software=software, is_ts=species.is_ts, memory=memory, trsh=trsh,
ess_trsh_methods=ess_trsh_methods, scan=scan, pivots=pivots, occ=occ, initial_trsh=self.initial_trsh,
project_directory=self.project_directory, max_job_time=max_job_time, scan_trsh=scan_trsh,
scan_res=scan_res, conformer=conformer, checkfile=checkfile)
scan_res=scan_res, conformer=conformer, checkfile=checkfile,
number_of_radicals=species.number_of_radicals)
if job.software is not None:
if conformer < 0:
# this is NOT a conformer job
Expand Down Expand Up @@ -1710,7 +1711,8 @@ def restore_running_jobs(self):
initial_time=job_description['initial_time'], conformer=conformer,
software=job_description['software'], comments=job_description['comments'],
scan_trsh=job_description['scan_trsh'], initial_trsh=job_description['initial_trsh'],
max_job_time=job_description['max_job_time'], scan_res=job_description['scan_res'])
max_job_time=job_description['max_job_time'], scan_res=job_description['scan_res'],
number_of_radicals=species.number_of_radicals)
if spc_label not in self.job_dict:
self.job_dict[spc_label] = dict()
if job_description['job_type'] not in self.job_dict[spc_label]:
Expand Down

0 comments on commit 6e62b2a

Please sign in to comment.