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
Hi all,
I was trying to read the result of a SCF calculation (with QE 7.2) with the Hubbard U applied to the Wannier orbitals obtained with the PoorManWannier (pmw.x) utility.
When calling the .to_dict() function I get the following error:
XMLSchemaValidationError: failed validating 'wf' with XsdEnumerationFacets(['atomic', 'ortho-atomic', 'norm-atomic', 'pseudo', 'file']):
Reason: value must be one of ['atomic', 'ortho-atomic', 'norm-atomic', 'pseudo', 'file']
Am I doing something wrong here? The option 'wf' seem to be missing from the allowed values.
Thanks for the nice package btw!
Best,
Andrea
The text was updated successfully, but these errors were encountered:
You are not doing anything wrong. The "wannier" option has been overlooked in the definition of the schema and the validation fail.
there are 2 actions needed
one to fix the schema
to allow a 'lax' validation to be used by to_dict and similar methods
Option 2 should actually already done, so for the moment on, until the schema is updated, use to_dict method passing the validation='lax' argument.
Hi all,
I was trying to read the result of a SCF calculation (with QE 7.2) with the Hubbard U applied to the Wannier orbitals obtained with the PoorManWannier (pmw.x) utility.
When calling the .to_dict() function I get the following error:
XMLSchemaValidationError: failed validating 'wf' with XsdEnumerationFacets(['atomic', 'ortho-atomic', 'norm-atomic', 'pseudo', 'file']):
Reason: value must be one of ['atomic', 'ortho-atomic', 'norm-atomic', 'pseudo', 'file']
Am I doing something wrong here? The option 'wf' seem to be missing from the allowed values.
Thanks for the nice package btw!
Best,
Andrea
The text was updated successfully, but these errors were encountered: