ModelSEED / Model-SEED-core

The Model SEED is a tool for building, curating, and analyzing gonome-scale metabolic models. Visit the Model SEED homepage for installation instructions and full feature documentation.
http://bionet.mcs.anl.gov/index.php/Model_SEED_Homepage
Other
19 stars 10 forks source link

Sort id feature request #137

Open samseaver opened 12 years ago

samseaver commented 12 years ago

As we're migrate to a new database schema, I do have the request that some kind of inherent consistent sort function is used for compound and reaction ids, particularly when printing to file. The reason being so that I can use git diff without wondering in which way ids were sorted.

For example, I made a model file, and loaded it using import_model_file. The reactions were sorted from low to high. If I run printmodel, it prints the reactions from high to low (as this seems to be the order at which the database returns the objects from the biochemistry provenance). I have to re-sort the reaction ids to do a direct comparison between the two.