Chemical formulae are not properly validated on model creation #546
Labels
models
For issues related to the pydantic models directly
priority/medium
Issue or PR with a consensus of medium priority
Currently, any rubbish can be placed in the chemical formula field when creating a model as we didn't write any validators (!) for them. This is not a massive deal as its an easy thing for implementations to get right, but e.g.
chemical_formula_anonymous
has strict rules on order that we should enforce.The text was updated successfully, but these errors were encountered: