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.
I just tried to plot some phonon dispersions from old phonon calculations and got following error:
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.