Skip to content

ENH: If canceled vibration calculation is restarted, recalculate empty file

If the force (and dipole moment) calculation in the method run of the class Vibrations is cancelled, a pckl-file remains empty. This empty file must be removed before restarting the calculation (as explained here: https://wiki.fysik.dtu.dk/ase/ase/vibrations.html). With my changes: It is no longer necessary to remove this file manually because the needed forces (and dipole moments) will also be calculated for existing files if they are empty.

Merge request reports