Skip to content

Commit

Permalink
Remove redundant list()
Browse files Browse the repository at this point in the history
Thanks @oerc0122
  • Loading branch information
ajjackson committed Oct 14, 2024
1 parent 836faaf commit 5af1228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion euphonic/writers/phonon_website.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def _combine_neighbouring_labels(x_tick_labels: XTickLabels) -> XTickLabels:
if labels.get(index - 1) != labels.get(index):
labels[index - 1] = f"{labels[index - 1]}|{labels[index]}"
del labels[index]
return list(sorted(labels.items()))
return sorted(labels.items())


def _modes_to_phonon_website_dict(modes: QpointPhononModes,
Expand Down

0 comments on commit 5af1228

Please sign in to comment.