diff --git a/arc/scheduler.py b/arc/scheduler.py index 2f85ea0a81..991bf82f5a 100644 --- a/arc/scheduler.py +++ b/arc/scheduler.py @@ -1247,6 +1247,8 @@ def run_scan_jobs(self, label: str): """ if self.job_types['rotors'] and isinstance(self.species_dict[label].rotors_dict, dict): for i, rotor in self.species_dict[label].rotors_dict.items(): + if rotor['scan_path'] and os.path.isfile(rotor['scan_path']): + continue # Since this function is relevant for in multiple cases, all cases are listed for debugging # [have not started] success = None, and scan_path = '' # [first time calculating] success = None, and scan_path = '' @@ -1277,7 +1279,7 @@ def run_scan_jobs(self, label: str): continue directed_scan_type = rotor['directed_scan_type'] if 'directed_scan_type' in rotor else '' - if directed_scan_type: + if directed_scan_type != 'ess': # This is a directed scan. # Check that this job isn't already running on the server (from a restarted project). if 'directed_scan' not in self.job_dict[label].keys():