Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » libsbml-development » No defaults in SBML L3
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Lucian Smith


Posts: 183
Registered:
July 2008
Re: No defaults in SBML L3 21 Sep '09 12:56 Go to previous messageGo to previous message

* Stefan Hoops <shoops@vbi.vt.edu> [2009-09-21 20:21] writes:
> Hello Chris,
>
> On Mon, 21 Sep 2009 11:39:46 -0600
> "Chris J. Myers" <myers@ece.utah.edu> wrote:
>
> > A better approach, in my opinion, is to come up with ways that
> > people can use L3 for their needs. Case in point is my suggestion of
> > adding a readSBML that provides defaults to required entries. Or, a
> > readAndConvert function which would also need to provide defaults
> > since L2 had defaults. I really think it is problematic to allow
> > SBML files to be read that have missing, unspecified, required
> > entries.
>
> I agree again. However, I do not advocate to introduce the fix
> functions you suggest. An L3 file which does not contain mandatory
> elements is not valid and can not be fixed.

Let's be clear: libSBML has always and will always have the ability to
read invalid SBML. It *must* be able to do this if it is going to
help tools fix broken SBML. It reads it and sets an error. That's not
what's under discussion here.

Similarly, libSBML has always and (as far as I can tell) will always have
the ability to *write* invalid SBML. There's no getting around it,
especially when you're trying to debug stuff. Again, it sets an error and
writes it anyway. This is also not what's under discussion.

The question is instead: "When libSBML is asked to write an invalid file,
should it try to fix it by providing defaults?" This isn't about L2 vs.
L3 or anything like that. It's about how to make the best of an
unfortunate situation. I think it should write defaults, and would at
least appreciate the ability to ask it to write defaults. In the end,
this is the option that results in the fewest number of invalid SBML files
in the wild.

-Lucian
____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development

For a web interface to the libsbml-development mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the libsbml-development list,
contact sbml-team@caltech.edu

      

SubjectPosterDate
Read Message   No defaults in SBML L3 Sarah Keating15 Sep '09 02:28
Read Message   Re: No defaults in SBML L3 Frank Bergmann15 Sep '09 09:00
Read Message   Re: No defaults in SBML L3 Lucian Smith18 Sep '09 17:03
Read Message   Re: No defaults in SBML L3 myers18 Sep '09 19:33
Read Message   Re: No defaults in SBML L3 Sarah Keating21 Sep '09 01:02
Read Message   Re: No defaults in SBML L3 myers21 Sep '09 08:57
Read Message   Re: No defaults in SBML L3 Stefan.Hoops21 Sep '09 10:17
Read Message   Re: No defaults in SBML L3 myers21 Sep '09 10:39
Read Message   Re: No defaults in SBML L3 curoli21 Sep '09 11:00
Read Message   Re: No defaults in SBML L3 Stefan.Hoops21 Sep '09 12:19
Read Message   Re: No defaults in SBML L3  Lucian Smith21 Sep '09 12:56
Read Message   Re: No defaults in SBML L3 Lucian Smith21 Sep '09 12:42
Read Message   Re: No defaults in SBML L3 Mike Hucka21 Sep '09 22:03
Read Message   Re: No defaults in SBML L3 Stefan.Hoops22 Sep '09 06:37
Read Message   Re: No defaults in SBML L3 curoli22 Sep '09 12:21
Read Message   Re: No defaults in SBML L3 Stefan.Hoops22 Sep '09 13:40
Read Message   Re: No defaults in SBML L3 curoli22 Sep '09 14:42
Read Message   Re: No defaults in SBML L3 Stefan.Hoops22 Sep '09 15:03
Read Message   Re: No defaults in SBML L3 curoli22 Sep '09 18:39
Read Message   Re: No defaults in SBML L3 Sarah Keating23 Sep '09 01:29
Read Message   Re: No defaults in SBML L3 curoli23 Sep '09 05:40
Read Message   Re: No defaults in SBML L3 Sarah Keating23 Sep '09 07:08
Read Message   Re: No defaults in SBML L3 myers23 Sep '09 08:47
Read Message   Re: No defaults in SBML L3 Lucian Smith23 Sep '09 11:58
Read Message   Re: No defaults in SBML L3 ajouraku24 Sep '09 01:57
Read Message   Re: No defaults in SBML L3 myers23 Sep '09 08:16
Read Message   Re: No defaults in SBML L3 Lucian Smith22 Sep '09 15:42
Read Message   Re: No defaults in SBML L3 Sarah Keating23 Sep '09 03:11
Previous Topic:Updating libsbml installation instructions
Next Topic:Unit consistency check in libsbml 3.3.2
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.