Commit 69b48c63 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Enabled simplified BS also for phonons.

parent 6bb5d617
Pipeline #76570 passed with stages
in 45 minutes and 2 seconds
......@@ -1178,7 +1178,7 @@ class EncCalculationResource(Resource):
# plots. If the VBM and CBM information is needed later, it
# can be added as indices along the path. The exact
# k-points and occupations are removed to save band width.
if key == "electronic_band_structure":
if key == "electronic_band_structure" or key == "phonon_band_structure":
segments = value["section_k_band_segment"]
k_path_length = 0
for segment in segments:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment