Skip to content

Commit f7bf144

Browse files
authored
Merge pull request #284 from azaichen/main
Molcas outputs reading bug fixed
2 parents 2e87bae + 7682b1c commit f7bf144

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exatomic/molcas/output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def parse_basis_set(self):
605605
block = pd.read_csv(StringIO('\n'.join(collated)),
606606
delim_whitespace=True, names=range(ncols))
607607
alps = (pd.concat([block[1]] * nbas).reset_index(drop=True)
608-
.str.replace('D', 'E').astype(np.float64))
608+
.astype(str).str.replace('D', 'E').astype(np.float64))
609609
ds = block[list(range(2, nbas + 2))].unstack().reset_index(drop=True)
610610
pdf = pd.concat([alps, ds], axis=1)
611611
pdf.columns = ['alpha', 'd']

0 commit comments

Comments
 (0)