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()
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.
To manage your sbml-interoperability list subscription, visit
For a web interface to the sbml-interoperability mailing list, visit
For questions or feedback about the sbml-interoperability list,
Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)