Dear Matminer developers,
thank you for your great work in developing Matminer.
I have encountered an issue retrieving element properties using the magpie database running
pymatgen 2024.1.27
matminer 0.8.0
trying to execute
ep_feat3 = ElementProperty(data_source="magpie", features=["Number",
"MendeleevNumber",
"AtomicWeight",
"MeltingT",
"Column",
"Row",
"CovalentRadius",
"Electronegativity",
"NsValence",
"NpValence",
"NdValence",
"NfValence",
"NValence",
"NsUnfilled",
"NpUnfilled",
"NdUnfilled",
"NfUnfilled",
"NUnfilled",
"GSvolume_pa",
"GSbandgap",
"GSmagmom",
"SpaceGroupNumber",], stats = ["mean"])
gives the error:
File "C:\Users\xxxxx\anaconda3\envs\thesis\Lib\site-packages\matminer\featurizers\composition\composite.py", line 52, in __init__
self.data_source = MagpieData()
^^^^^^^^^^^^
File "C:\Users\xxxxx\anaconda3\envs\thesis\Lib\site-packages\matminer\utils\data.py", line 220, in __init__
self.all_elemental_props[descriptor_name][Element.from_Z(atomic_no).symbol] = prop_value
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xxxxx\anaconda3\envs\thesis\Lib\site-packages\pymatgen\core\periodic_table.py", line 526, in from_Z
raise ValueError(f"Unexpected atomic number {Z=}")
ValueError: Unexpected atomic number Z=119
It is important to note that this error only appears when using the magpie source, not for any other valid source.
I would be grateful if you could let me know why I encounter this issue.
Best wishes
Frank