Skip to content
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

Hill notation validation turning around C and H #581

Closed
CasperWA opened this issue Nov 2, 2020 · 0 comments · Fixed by #582
Closed

Hill notation validation turning around C and H #581

CasperWA opened this issue Nov 2, 2020 · 0 comments · Fixed by #582
Assignees
Labels
bug Something isn't working models For issues related to the pydantic models directly priority/high Issue or PR with a consensus of high priority validator Related to the OPTIMADE validator

Comments

@CasperWA
Copy link
Member

CasperWA commented Nov 2, 2020

In Hill notation the first element should be carbon, then hydrogen and the every other element in alphabetical order.

Currently, we are validating formulas wrongly, by expecting first hydrogen, then carbon, and finally (as it should be) every other element in alphabetical order.

@CasperWA CasperWA added bug Something isn't working priority/high Issue or PR with a consensus of high priority validator Related to the OPTIMADE validator models For issues related to the pydantic models directly labels Nov 2, 2020
@CasperWA CasperWA self-assigned this Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working models For issues related to the pydantic models directly priority/high Issue or PR with a consensus of high priority validator Related to the OPTIMADE validator
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant