Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » jsbml-development » create compartment is missing id
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: create compartment is missing id 18 Apr '11 19:50 Go to previous messageGo to previous message

* Andreas Drger <andreas.draeger@uni-tuebingen.de> [2011-04-18 17:29] writes:
> Hi Spike,
>
> It is really not obvious why you create an invalid model here.
>
> >> final SBMLDocument document = new SBMLDocument(2, 4);
> >> document.createModel("MyModel");
> >> Compartment compartment = new Compartment();
>
> Here is the problem. You didn't specifiy the Level/Version combination
> for your compartment.

I would suggest that either creation of SBML objects without any arguments
be illegal, or that they default to the *latest* level and version, not
the first.

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

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

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

      

SubjectPosterDate
Read Message   create compartment is missing id spike18 Apr '11 02:57
Read Message   Re: create compartment is missing id Mike Hucka18 Apr '11 09:00
Read Message   Re: create compartment is missing id Lucian Smith18 Apr '11 19:49
Read Message   Re: create compartment is missing id Mike Hucka18 Apr '11 20:16
Read Message   Re: create compartment is missing id Andreas Dräger18 Apr '11 09:28
Read Message   Re: create compartment is missing id Andreas Dräger18 Apr '11 09:56
Read Message   Re: create compartment is missing id Clemens Wrzodek18 Apr '11 09:59
Read Message   Re: create compartment is missing id rodrigue18 Apr '11 10:42
Read Message   Re: create compartment is missing id  Lucian Smith18 Apr '11 19:50
Read Message   Re: create compartment is missing id Andreas Dräger18 Apr '11 20:17
Read Message   Re: create compartment is missing id spike19 Apr '11 01:34
Previous Topic:how to represent a family of proteins
Next Topic:Write to SBML
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.