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

reactantX and productX prefixes not handled correctly #119

Open johannespostler opened 11 years ago

johannespostler commented 11 years ago

The documentation [1] states that all kinds of prefixes reactantX where X is alphanumerical must be handled by the NodeSoftware. This is not the case as of now. IDEADB (and plenty of others) produce an error when working on the query [2]

select * where (product0.MoleculeStoichiometricFormula = 'O')

whereas [3]

select * where (product1.MoleculeStoichiometricFormula = 'O')

works fine (in my dictionary.py everything is defined with product1/2. I don't fully understand the documentation in this case. Is it meant to deal with X just do group reactions? Does it make sense to run queries like the following?

select * where (product5.MoleculeStoichiometricFormula = 'O')

Why not define a starting point (e.g. 0 or 1) for those reactant counters?

[1]: VAMDC documentation [2]: query link

[3]: query link