Skip to content

Commit

Permalink
Don't re-run conformers for a species if already present
Browse files Browse the repository at this point in the history
Don't generate coformers if their xyzs are available
Don't calculate conformers energies if energies already given
  • Loading branch information
alongd committed Mar 25, 2019
1 parent c467c56 commit 19e262b
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 @@ -308,7 +308,7 @@ def __init__(self, project, settings, species_list, composite_method, conformer_
# restart-related check are performed in run_scan_jobs()
self.run_scan_jobs(species.label)
elif not self.species_dict[species.label].is_ts and self.generate_conformers\
and 'geo' not in self.output[species.label]:
and 'geo' not in self.output[species.label] and not species.conformers:
self.species_dict[species.label].generate_conformers()
else:
# Species is loaded from a YAML file
Expand Down Expand Up @@ -550,7 +550,7 @@ def run_conformer_jobs(self):
"""
for label in self.unique_species_labels:
if not self.species_dict[label].is_ts and 'opt converged' not in self.output[label]['status']\
and 'opt' not in self.job_dict[label]:
and 'opt' not in self.job_dict[label] and not self.species_dict[label].conformer_energies:
self.save_conformers_file(label)
if not self.testing:
if len(self.species_dict[label].conformers) > 1:
Expand Down

0 comments on commit 19e262b

Please sign in to comment.