From e649b5e4d37a0ea63caf757464284cbb7c502bf3 Mon Sep 17 00:00:00 2001 From: Alon Grinberg Dana Date: Fri, 24 Mar 2023 22:49:02 +0300 Subject: [PATCH] Make sure `level_of_theory` is a `Level` instance if applicable --- arc/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/arc/main.py b/arc/main.py index 30478987f1..050622a0b4 100644 --- a/arc/main.py +++ b/arc/main.py @@ -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)