Skip to content

Commit

Permalink
Changed LoT check in Scheduler
Browse files Browse the repository at this point in the history
Changed if isinstance(level_of_theory, Level)
  • Loading branch information
calvinp0 committed Mar 24, 2023
1 parent b34b2fa commit 771faeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arc/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 771faeb

Please sign in to comment.