sys-bio / tellurium

Python Environment for Modeling and Simulating Biological Systems
http://tellurium.analogmachine.org/
Apache License 2.0
110 stars 36 forks source link

getAntimony() call breaks on Notebook interface but not Spyder #525

Closed chaytanc closed 1 year ago

chaytanc commented 3 years ago

Using a model loaded from an xml file, all normal calls like .plot() work on the loaded model from SBML. However, the call r.getAntimony() fails with the exception "Antimony: Unable to read SBML string due to errors encountered when parsing the file. Error(s) from libSBML: ..." (the full exception is quite the stack dump but I can provide the whole thing if you want) The exception ends with " listOfGlobalRenderInformation cannot be empty." The same model loaded with Spyder and the same python-libsbml version loads the model and can perform the getAntimony call without errors.

luciansmith commented 3 years ago

Thank you for the report! Can you provide a model that you're using that demonstrates this problem?

luciansmith commented 1 year ago

Looks like we lost @chaytanc , so I'm closing this for now. If you find the model in question, I'm more than happy to re-open.