VAMDC / NodeSoftware

Python/Django-based software for running VAMDC data nodes.
http://www.vamdc.eu
GNU General Public License v3.0
15 stars 23 forks source link

Odd behaviour with parentheses in queries #85

Closed guyrixon closed 12 years ago

guyrixon commented 12 years ago

In Chianti, and also in VALD atoms, these two queries behave differently:

SELECT ALL WHERE MoleculeInchiKey='WSFSSNUMVMOOMR-HTIUTIAYSA-N'

raises nothing (restrictable not understood by the node); but

SELECT ALL WHERE (MoleculeInchiKey='WSFSSNUMVMOOMR-HTIUTIAYSA-N')

raises 6 species and 153 states in Chianti (that is not all of Chianti) and raises stuff also in VALD. The effect happens in both VSS1 and VSS2.

ivh commented 12 years ago

I cannot seem to reproduce this for vald.

BTW, MoleculeInchiKey is no longer a Restrictable. It's simply InchiKey now.

ivh commented 12 years ago

assumed to be no longer relevant, closing.