Overzealous validation of substring comparisons for chemical formula fields #1024
Labels
bug
Something isn't working
priority/medium
Issue or PR with a consensus of medium priority
validator
Related to the OPTIMADE validator
Performing substring comparisons on
chemical_formula_anonymous
is optional, and is tricky for databases that do not directly store the same format of the formula.From 7.2.7
chemical_formula_anonymous
in the spec:The validator currently fails if a database returns
501 Not Implemented
for aSTARTS
,ENDS
orCONTAINS
query, when it should just let this slide. Related to and uncovered in wolverton-research-group/qmpy#128.The text was updated successfully, but these errors were encountered: