Hi Matthias
Empty listOfs are actually allowed in L3V2.
So if you wanted to show them in the example it would need to be L3V2.
libSBML does not have a function to force a write to display empty
listOfs (maybe we should!) but it will roundtrip an empty listOf. So if
you hand wrote an file with the empty listOfs you want displayed, read
that in and used that to create your model you would get any empty
listOfs that had been in the read in model.
Although that is not really any different than adding the empty listOfs
manually after you create the model :-)
I tried a couple of hacks - like creating a FunctionDefinition in the
model and then removing it but it does not produce an empty listOf
element. I'll add this to our tracker.
Sarah
>> <
https://groups.google.com/d/msgid/libsbml-development/f1a96721-f23c-49b4-bf3c-b49f1569d635%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .