Hill notation validation turning around C and H #581
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
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.
The text was updated successfully, but these errors were encountered: