KarrLab / obj_tables

Tools for creating and reusing high-quality spreadsheets
https://objtables.org
MIT License
8 stars 2 forks source link

Increase the maximum length for SlugAttribute #115

Closed YinHoon closed 4 years ago

YinHoon commented 4 years ago

Model cannot be simulated because some IDs exceed the maximum character length. A few IDs were long because the reaction IDs from Recon 2.2 were long to start with.

File "/root/host/Documents/wc_sim/wc_sim/simulation.py", line 203, in run self._prepare() File "/root/host/Documents/wc_sim/wc_sim/simulation.py", line 89, in _prepare raise MultialgorithmError(indent_forest(['The model is invalid:', [errors]])) wc_sim.multialgorithm_errors.MultialgorithmError: The model is invalid:

Reaction: dfba_ex_metabolism_acgalfucgalacgalfuc12gal14acglcgalgluside_hs_e: 'id': Value must be less than 63 characters __dfba_ex_metabolism_acgalfucgalacgalfucgalacglcgal14acglcgalgluside_hs_e: 'id': Value must be less than 63 characters dfba_ex_metabolism_fucfucfucgalacglc13galacglcgal14acglcgalgluside_hs_e: 'id': Value must be less than 63 characters __dfba_ex_metabolism_galgalfucfucgalacglcgalacglcgal14acglcgalgluside_hs_e: 'id': Value must be less than 63 characters

YinHoon commented 4 years ago

The maximum length of SlugAttribute has been increase to 90 characters.