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
Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)