| Author | Topic |
Posts: 53
Registered: April 2005
|
|
AST_NAME_TIME from libsbml.parseFormula
|
04 Mar '10 07:46
|
 |
Dear Forum,
What is the proper way to enter a formula that references "time" (i.e. the model simulation time) into libSBML's "parseFormula" function?
When I call libsbml.parseFormula('time') in python the resulting AST has type AST_NAME rather than AST_NAME_TIME. This is causing an error in the resulting SBML validation because the name 'time' is not recognized as a species/reaction/parameter/etc.
I am using libSBML-4.0.0-xerces-vc90 from Python on Windows XP.
There is a similar problem posted here, but I don't see any follow up.
Thanks for your help.
--Jordan Atlas
|
|
|