ModelSEED/Model-SEED-core — Issue #137: Sort id feature request
Author: samseaver
Created: 2012-02-24 16:50:03+00:00
State: open

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.