The SBML Test Suite is a conformance testing system. It allows developers and users to test the degree and correctness of the SBML support provided in a software package.
I am currently running my software against the semantic testcases. The software uses the matlab bindings from libSBML (version 5.13) to parse SBML models.
For the semantic test case 0112 (l3v1) libSBML encounters the following error:
Error using CheckAndConvert>CorrectFormula (line 237)
Bracket mismatch
Error in CheckAndConvert>SortLogicals (line 396)
Replace = CorrectFormula(Find{i}, 'and(');
Error in CheckAndConvert (line 77)
Formula = SortLogicals(Formula);
The problem occurs when SortLogicals(Formula) with Formula = piecewise(1, and(), 0)
which probably originates from the initial assignment of "c". This formula ends up as to and(),0)) in CorrectFormula() and correctly fails.
To me this looks like malformed sbml (and() without arguments) but the error could also be with libSBML.
Hello,
I am currently running my software against the semantic testcases. The software uses the matlab bindings from libSBML (version 5.13) to parse SBML models.
For the semantic test case 0112 (l3v1) libSBML encounters the following error:
The problem occurs when
SortLogicals(Formula)
withFormula = piecewise(1, and(), 0)
which probably originates from the initial assignment of "c". This formula ends up as toand(),0))
inCorrectFormula()
and correctly fails.To me this looks like malformed sbml (
and()
without arguments) but the error could also be with libSBML.