Skip to content

Commit

Permalink
Changed if isinstance(level_of_theory, Level) (#619)
Browse files Browse the repository at this point in the history
Adjusted line 770 to now check if the instance is a Level rather than if
level_of_theory is None
  • Loading branch information
alongd authored Mar 24, 2023
2 parents b34b2fa + 771faeb commit d0bacdd
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 d0bacdd

Please sign in to comment.