Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » SBO term
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Rodrigo Liberal


Posts: 6
Registered:
March 2012
SBO term 27 Apr '12 09:32 Go to previous message

Dear Sirs,
I haven't been able to solve a problem inserting sbo terms in compartments.
The code I am using is as follows:

1 reader = SBMLReader()
2 document = reader.readSBML(" ...
3 TheModel = document.getModel()
.
.
.
10 listCompartments=TheModel.getListOfCompartments()
11 for compart in listCompartments:
12 Idcompart= compart.getId()
13 compart.setSBOTerm(290) ##


This should work, shoudn't it? The line 13 is returning -2.

Regards,

Rodrigo
____________________________________________________________
To manage your sbml-interoperability list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability

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

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

      

SubjectPosterDate
Read Message   SBO term  Rodrigo Liberal27 Apr '12 09:32
Read Message   Re: SBO term Falko Krause28 Apr '12 00:11
Previous Topic:Best practice for installing libSBML and SBMLtoolbox on a 64bit Windows computer
Next Topic:installation of sbmltoolbox
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.