Skip to content

Commit

Permalink
#165: do not flag empty lists as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Jun 7, 2022
1 parent 9853cd2 commit c65da89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/sedml/SedBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2334,7 +2334,7 @@ SedBase::read (LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream& stream)

if ( !stream.isGood() ) break;

checkSedListOfPopulated(object);
// checkSedListOfPopulated(object);
}
else if ( !( readOtherXML(stream)
|| readAnnotation(stream)
Expand Down
1 change: 1 addition & 0 deletions tests/test-data/sort_curves.sedml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<math xmlns="http://www.w3.org/1998/Math/MathML">
<ci> task0_____time </ci>
</math>
<listOfParameters/>
<listOfVariables>
<variable id="task0_____time" symbol="urn:sedml:symbol:time" taskReference="task0" modelReference="model0"/>
</listOfVariables>
Expand Down

0 comments on commit c65da89

Please sign in to comment.