Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Jun 13, 2024
1 parent 8e25238 commit 00b7134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/io/lobster/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2108,7 +2108,7 @@ def _parse_matrix(file_data, pattern, e_fermi):
if idx == 1: # ignore the first occurrence as files start with real matrices
pass
else:
end_inxs_imag.append(idx - 10)
end_inxs_imag.append(idx - 1)
matches = re.search(pattern, file_data[idx - 1])
if matches and len(matches.groups()) == 2:
k_point = matches.group(2)
Expand Down

0 comments on commit 00b7134

Please sign in to comment.