sys-bio / simplesbml

Python package for building SBML models without needing to use libSBML.
http://simplesbml.readthedocs.io/en/latest/
MIT License
10 stars 12 forks source link

Problem with adding reactions #23

Closed kirichoi closed 8 years ago

kirichoi commented 8 years ago

Current implementation of adding reaction does not produce a valid SBML file. Will push an updated version that solve this issue temporarily.

kirichoi commented 8 years ago

Errors are removed but Warnings persist:

Warning : The units of the 'math' formula in a definition are expected to be the equivalent of substance per time. Reference: L3V1 Sections 4.11.7, 4.2.4 AND 4.9.4 In level 3 the expected units are extent_per_time. Expected units are mole (exponent = 1, multiplier = 1, scale = 0), second (exponent = -1, multiplier = 1, scale = 0) but the units returned by the expression in the (from the with id 'v1') are second (exponent = -1, multiplier = 1, scale = 0), mole (exponent = 1, multiplier = 1, scale = 0), litre (exponent = -1, multiplier = 1, scale = 0).