pyiron/pyiron_atomistics

Phonopy and magmom

Opened this issue · 1 comments

I just tried to plot some phonon dispersions from old phonon calculations and got following error:

AttributeError: 'Primitive' object has no attribute '_magnetic_moments'.

Phonopy renamed magmoms to magnetic_moments with the change from version 2.22.0 to 2.22.1 (https://github.com/phonopy/phonopy/pull/345/files). Reverting back to version 2.22.0 fixed it for me, but I guess this requires some changes here or in structuretoolkit.

Bump