-
Notifications
You must be signed in to change notification settings - Fork 929
Closed
Labels
Description
Python version
All
Pymatgen version
Master
Current behavior
Throws deprecation warning in CI
Expected Behavior
Removal
Deadline to remove 2025-01-01
pymatgen/src/pymatgen/core/periodic_table.py
Lines 757 to 768 in 1abc459
| @property | |
| @deprecated( | |
| is_rare_earth, | |
| message="is_rare_earth is corrected to include Y and Sc.", | |
| deadline=(2025, 1, 1), | |
| ) | |
| def is_rare_earth_metal(self) -> bool: | |
| """True if element is a rare earth metal, Lanthanides (La) series and Actinides (Ac) series. | |
| This property is Deprecated, and scheduled for removal after 2025-01-01. | |
| """ | |
| return self.is_lanthanoid or self.is_actinoid |
Reactions are currently unavailable