Skip to content

Fix ValueError while writing atoms with stress tensor to extxyz

Katsuhiko Nishimra requested to merge ktns/ase:fix/extxyz/stress_tensor into master

I just came across an ase.io.write failure and realized that it is because a caclculator have 3x3 stress tensor and the extxyz writer supposes voigt format stress.

I'm not sure this is a bug but I think it is useful if the writer explicitly uses voigt format stress.

Closes #783

Checklist

Merge request reports