basico
basico copied to clipboard
if expressions returned incorrectly
I noticed parsing this sbml model: BIOMD0000000429_url.xml
that Basico returns expressions containing if statements incorrectly:
In the model there is an expression for global quantity "Turgor" which Basico currently returns as:
if ( Compartments[V].Volume Values[VP_0] Values[eps] * log ( Compartments[V].Volume / Values[VP_0] ) ,0 )
instead of the correct string:
if( Compartments[V].Volume gt Values[VP_0] , Values[eps] * log( Compartments[V].Volume / Values[VP_0] ) , 0 )
notice that the string returned does not contain the gt and , needed in the if statement
this is fixed in the release from this morning.