njszym / XRD-AutoAnalyzer

MIT License
77 stars 17 forks source link

Import module in new versions of pymatgen have been modified #1

Closed Pepe-Marquez closed 3 years ago

Pepe-Marquez commented 3 years ago

in solid_solns, From pymatgen import Composition is now from pymatgen.core.composition import Composition

For pymatgen version >= 2022.0.0 https://pymatgen.org/compatibility.html

njszym commented 3 years ago

Thanks for pointing this out, @Pepe-Marquez. The import has now been updated to reflect the latest pymatgen version.