From 4872cbf8ab7b661e73507e5a39d6e89303db870e Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Tue, 10 Mar 2020 15:46:20 -0700 Subject: Fix error for exp --- ml_exp/compound.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ml_exp/compound.py b/ml_exp/compound.py index f41710588..4c5b21584 100644 --- a/ml_exp/compound.py +++ b/ml_exp/compound.py @@ -197,6 +197,8 @@ class Compound: self.qm9Mulliken = np.empty(self.n, dtype=np.float64) for i, atom in enumerate(lines[2:self.n + 2]): + if db == 'qm9': + atom = atom.replace('*^', 'e') atom_d = atom.split() self.atoms.append(atom_d[0]) -- cgit v1.2.3-54-g00ecf