Update misc.py
Changed argument on def getODEsFromModel to be called roadrunnerModel, makes more sense on when intellisense appears. Also  the error message referred to the incorrect method, now fixed.
@@ -102,7 +102,7 @@ def getODEsFromSBMLString (sbmlStr):
extractor = ODEExtractor (sbmlStr)
return extractor.toString()
-def getODEsFromModel (sbmlModel):
+def getODEsFromModel (roadrunnerModel):
"""Given a roadrunner instance this function returns
a string of rules and ODEs
@@ -113,9 +113,9 @@ def getODEsFromModel (sbmlModel):
"""
from roadrunner import RoadRunner
if type (sbmlModel) == RoadRunner:
- extractor = ODEExtractor (sbmlModel.getSBML())
+ extractor = ODEExtractor (roadrunnerModel.getSBML())
else:
- raise RuntimeError('The argument to getODEsFromModelAsString should be a roadrunner variable')
+ raise RuntimeError('The argument to getODEsFromModel should be a roadrunner variable')
return extractor.toString()
