Skip to content

Sorting exchange reactions when loading model file #25

@mquintin

Description

@mquintin

When FBAModel.loadModelFromFile() reads in the line of exchange reaction indexes, it sorts them.

But when the reaction parameter lines ("KM_VALUES", "VMAX_VALUES" etc) are read, they are placed in the same order as in the original file.

So if a model file has the exchange reaction indexes out of order, the kinetic parameters will be mismatched.

(This is a "potential" bug which I haven't actually experienced but my reading of the code for something else makes me suspect it to be the case. Making a note here for myself to write a test case to see if it happens.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions