From 771faebd733139deadf6b82681062e32fce56def Mon Sep 17 00:00:00 2001 From: Calvin Pieters Date: Fri, 24 Mar 2023 17:11:29 +0300 Subject: [PATCH] Changed LoT check in Scheduler Changed if isinstance(level_of_theory, Level) --- arc/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arc/scheduler.py b/arc/scheduler.py index d8317d748b..2f85ea0a81 100644 --- a/arc/scheduler.py +++ b/arc/scheduler.py @@ -767,7 +767,7 @@ def run_job(self, args['shift'] = shift if scan_trsh: args['keyword']['scan_trsh'] = scan_trsh - if level_of_theory is not None and level_of_theory.args is not None: + if isinstance(level_of_theory, Level) and level_of_theory.args is not None: args.update(level_of_theory.args) job = job_factory(job_adapter=job_adapter,