You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is due to the fact that the rescale method (used to change the volume of the structure), also renames the atoms in case multiple site's names are associated to the same symbol.
This results on a structure whose sites do not match the pseudopotentials dictionary.
Let's suppose to have an hydrogen crystal with two sites:
The structure returned by rescale has the volume changed, but also sites:
<Site: kind name 'H' @ 0.000, 2.233, 1.754>
<Site: kind name 'H1' @ 0.000, -1.225, 2.327>
"Hbis" became "H1" because the correct label is lost in the passage between the StructureData and the ase structure inside rescale. However the pseudopotential input dictionary still presents the key "Hbis", leading to an error ValueError: no pseudo available for element H1.
The text was updated successfully, but these errors were encountered:
The problem is due to the fact that the
rescale
method (used to change the volume of the structure), also renames the atoms in case multiple site's names are associated to the same symbol.This results on a structure whose sites do not match the pseudopotentials dictionary.
Let's suppose to have an hydrogen crystal with two sites:
The structure returned by
rescale
has the volume changed, but also sites:"Hbis" became "H1" because the correct label is lost in the passage between the
StructureData
and thease
structure insiderescale
. However the pseudopotential input dictionary still presents the key "Hbis", leading to an errorValueError: no pseudo available for element H1
.The text was updated successfully, but these errors were encountered: