Skip to content

Commit

Permalink
feat: support seekpath for automatic band path seek for Phonon.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZLI-afk committed Jan 7, 2024
1 parent 0842083 commit 07fd538
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apex/core/property/Phonon.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,10 @@ def extract_seekpath_band(seekpath_data: dict):
return extracted_path

@staticmethod
def band_list_2_phonopy_band_string(band_list: list[list[dict[Any, Any]]]) -> [str, str]:
def band_list_2_phonopy_band_string(band_list) -> [str, str]:
band_string = ""
band_label = ""
# type of band_list: list[list[dict[Any, Any]]]
for branch in band_list:
for point in branch:
name = list(point.keys())[0]
Expand Down

0 comments on commit 07fd538

Please sign in to comment.