Skip to content

Commit

Permalink
Make sure level_of_theory is a Level instance if applicable (#620)
Browse files Browse the repository at this point in the history
A followup on #619
  • Loading branch information
kfir4444 committed Mar 25, 2023
2 parents d0bacdd + e649b5e commit 5a9137f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arc/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,7 @@ def process_level_of_theory(self):
if '//' in self.level_of_theory:
sp, opt = self.level_of_theory.split('//')
else:
self.level_of_theory = Level(repr=self.level_of_theory)
sp = opt = self.level_of_theory
sp = Level(repr=sp)
opt = Level(repr=opt)
Expand Down

0 comments on commit 5a9137f

Please sign in to comment.