diff options
author | David Luevano Alvarado <55825613+luevano@users.noreply.github.com> | 2020-03-10 15:46:20 -0700 |
---|---|---|
committer | David Luevano Alvarado <55825613+luevano@users.noreply.github.com> | 2020-03-10 15:46:20 -0700 |
commit | 4872cbf8ab7b661e73507e5a39d6e89303db870e (patch) | |
tree | 56c93bc083c887530bc3a8e7b4071f2a4142b7ff | |
parent | a0245756b5359e6523da2b95a26bc2e147feb950 (diff) |
Fix error for exp
-rw-r--r-- | ml_exp/compound.py | 2 |
1 files changed, 2 insertions, 0 deletions
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]) |