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
Stefan.Hoops


Posts: 170
Registered:
December 2006
Re: No defaults in SBML L3 22 Sep '09 06:37 Go to previous messageGo to previous message

Hello Mike

On Mon, 21 Sep 2009 22:03:10 -0700
"Michael Hucka" <mhucka@caltech.edu> wrote:

> It seems like the most sensible approach here is that
> advocated by Oliver and Lucian (and maybe Stefan in his last
> msg?), wherein libSBML has two types of methods in certain
> situations where the need arises: (a) ones that produce SBML
> that has defaults filled in and (b) ones that don't. Type
> (a) methods would be simply conveniences added by libSBML.
>
> Lucian's additional idea of adding XML comments is rather
> clever:
>
> <unit kind="mole" exponent="1" scale="0" multiplier="1" />
> <!-- Note: values for elements 'exponent', 'scale', and
> 'multiplier' were provided by libSBML and not by the user. To
> prevent this message from appearing, these elements need to be set
> explicitly -->

Unfortunately nobody will see them unless you look into the SBML file.
This means using SBML to load the above file will not give the user the
required information.

I know my approach to this might sound a little bit drastic but I think
that libsbml should refuse to write the file. It is the users/tools
responsibility to provide valid information. This means for an element
all non optional attributes must be provided.

Everything else will get us back into the situation we are having now
with L2 though on a different level. The SBML file now contains the
complete information however we have no idea whether this is the
information the user had in mind or made up by libsbml.

Thanks,
Stefan


--
Stefan Hoops, Ph.D.
Senior Project Associate
Virginia Bioinformatics Institute - 0477
Virginia Tech
Bioinformatics Facility II
Blacksburg, Va 24061, USA

Phone: (540) 231-1799
Fax: (540) 231-2606
Email: shoops@vbi.vt.edu
____________________________________________________________
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.