SBRG / bigg_models

The BiGG Models website server
http://bigg.ucsd.edu
Other
77 stars 18 forks source link

If models have reaction or metabolite IDs longer than 256 characters, the validator gives an unclear error message #328

Closed zakandrewking closed 5 years ago

zakandrewking commented 5 years ago

When loading a model with long IDs into COBRApy, we get this warning:

cobra/io/sbml3.py:364 UserWarning: GLPK does not support ID's longer than 256 characters

However, the model validator does not currently check for this, so an unhelpful 500 error is displayed:

test.xml - Invalid file
Server responded with 500 code.