Skip to content

Commit

Permalink
fix(data): fix the bug in dm parse (#142)
Browse files Browse the repository at this point in the history
* Update(nnsk): automatic orthogonalization

* update DM parse
  • Loading branch information
floatingCatty authored Apr 24, 2024
1 parent 2e1dbf6 commit 1efa9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dptb/data/interfaces/abacus.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def parse_matrix(matrix_path, factor, spinful=False):

with h5py.File(os.path.join(output_path, "DM.h5"), 'w') as fid:
default_group = fid.create_group("1")
for key_str, value in overlap_dict.items():
for key_str, value in DM_dict.items():
default_group[key_str] = value

if get_eigenvalues:
Expand Down

0 comments on commit 1efa9d3

Please sign in to comment.