> (It can be a bit tricky to fully
> validate a model--last I checked, you had to both read it in and then run
> 'checkConsistency', since some of the checks are done in one place, and
> the rest in the other. Though perhaps that's been recitfied in v4?)
Just a note on this. Whilst the majority of checks are done using
checkConsistency there are some checks that can ONLY be applied when
actually reading the document. These are mostly to do with XML or things
like ordering and thus libSBML will get them right when it writes out
SBML - i.e. they are not generally (with I think 2 exceptions!) errors
you would have in your internal representation.
Note if you apply the function checkInternalConsistency it will perform
these tests. So if you want to check validity before writing out SBML
you should call BOTH checkConsistency and checkInternalConsistency. All
validation is then applied.
Sarah
And yes, we do know we need to employ someone to work full time on
documentation - we're working on it :-)