Skip to content

Commit

Permalink
Don't run opt/freq jobs for IRC species when restarting
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Mar 24, 2023
1 parent fb22426 commit 2eaf2f4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions arc/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def __init__(self,
self.run_sp_job(species.label)
if self.job_types['rotors']:
self.run_sp_job(species.label, level = self.scan_level)
if not self.job_types['opt']: # The user provided an optimized coordinets
if not self.job_types['opt']: # The user provided an optimized coordinates
self.run_scan_jobs(species.label)

elif ((species.initial_xyz is not None or species.final_xyz is not None)
Expand All @@ -437,10 +437,12 @@ def __init__(self,
if self.composite_method:
# composite-related restart
if not self.output[species.label]['job_types']['composite'] \
and 'composite' not in list(self.job_dict[species.label].keys()):
and 'composite' not in list(self.job_dict[species.label].keys())\
and not os.path.isfile(self.output[species.label]['paths']['geo']):
# doing composite; composite hasn't finished and is not running; spawn composite
self.run_composite_job(species.label)
elif 'composite' not in list(self.job_dict[species.label].keys()):
elif 'composite' not in list(self.job_dict[species.label].keys()) \
and species.irc_label is None:
# composite is done; do other jobs
if not self.output[species.label]['job_types']['freq'] \
and 'freq' not in list(self.job_dict[species.label].keys()) \
Expand Down

0 comments on commit 2eaf2f4

Please sign in to comment.