Skip to content

Commit 769ddc1

Browse files
committed
Fix example
1 parent 3aceeac commit 769ddc1

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

Examples/sscha_and_aiida/run_aiida_sscha.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
start_index = -energies.index(min(energies))
2-
for scale_factor in scale_factors:
3-
scaled_atoms = atoms.copy()
4-
scaled_atoms.calc = flare_calc
5-
scaled_atoms.set_cell(scaled_atoms.get_cell() * scale_factor ** (1 / 3), scale_atoms=True)
6-
run_phonons(scaled_atoms, filename=f'./thermal_properties.yaml-{start_index}')
7-
start_index += 1"""Example of an actual AiiDA-powered SSCHA run."""
1+
"""Example of an actual AiiDA-powered SSCHA run."""
82
import os
93
import numpy as np
104

0 commit comments

Comments
 (0)