basico icon indicating copy to clipboard operation
basico copied to clipboard

if expressions returned incorrectly

Open pmendes opened this issue 1 year ago • 1 comments

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

pmendes avatar May 12 '24 17:05 pmendes

this is fixed in the release from this morning.

fbergmann avatar May 13 '24 20:05 fbergmann