pymatgen
pymatgen copied to clipboard
Is MaterialsProjectCompatibility deprecated?
MaterialsProjectCompatibility does not issue a deprecation warning. @rkingsbury said it used to. Was this removed intentionally? Should it be reinstated?
from pymatgen.entries.compatibility import MaterialsProjectCompatibility
mpc = MaterialsProjectCompatibility()
processed_entries = mpc.process_entries(unprocessed_entries, verbose=True)
>>> 5034it [00:00, 24523.19it/s]
0%| | 0/5034 [00:00<?, ?it/s]
pymatgen/entries/compatibility.py:287: UserWarning: No structure or oxide_type
parameter present. Note that peroxide/superoxide corrections are not as reliable
and relies only on detection of specialformulas, e.g., Li2O2.
warnings.warn(
100%|██████████| 5034/5034 [00:00<00:00, 9655.80it/s]