Skip to content

Commit

Permalink
Merge pull request #284 from azaichen/main
Browse files Browse the repository at this point in the history
Molcas outputs reading bug fixed
  • Loading branch information
avmarchenko authored Apr 6, 2024
2 parents 2e87bae + 7682b1c commit f7bf144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exatomic/molcas/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def parse_basis_set(self):
block = pd.read_csv(StringIO('\n'.join(collated)),
delim_whitespace=True, names=range(ncols))
alps = (pd.concat([block[1]] * nbas).reset_index(drop=True)
.str.replace('D', 'E').astype(np.float64))
.astype(str).str.replace('D', 'E').astype(np.float64))
ds = block[list(range(2, nbas + 2))].unstack().reset_index(drop=True)
pdf = pd.concat([alps, ds], axis=1)
pdf.columns = ['alpha', 'd']
Expand Down

0 comments on commit f7bf144

Please sign in to comment.