-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
describer.py line 247 en.join(orientations): ValidationError Input should be a valid string #433
Comments
This error also occurs in all other versions are the same as above. |
hello! I encountered the same problem, how did you solve it? |
This is because variable "orientations_str" is None and the en module need the "orientations_str" has a value. Notice: orientation of I is None. And if you use description = describer.describe(condensed_structure), you will get this error. To avoid it, a simple method is Or you can dive into the source code describer.py, and change the code from line 240 to 249: |
Thanks for raising this. It has been fixed in the most recent version. |
Hi,
When calling:
I was having this error:
Fix that helped in describer.py lines 241-249 is adding orientations_str:
I am using Python 3.10.13 and the following package versions:
matminer 0.9.1.dev5
monty 2023.11.3
pydantic 2.4.2
pydantic_core 2.10.1
pydantic-settings 2.1.0
pymatgen 2023.3.23
robocrys 0.2.8
ruamel.yaml 0.17.40
ruamel.yaml.clib 0.2.7
And that is my "C.cif" file:
Could you look into this please?
The text was updated successfully, but these errors were encountered: