msneddon / nfsim

A general-purpose, stochastic, biochemical reaction simulator for large reaction networks
MIT License
17 stars 18 forks source link

Support for inline local functions #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, NFsim does not allow local functions to be defined "inline" in the 
reaction rules block. If one attempts to do this the following error message is 
thrown:

    [------Error!! call a local function through a composite function always!
DOR rxn should never directly call a local function.

It's not clear to me why this is not allowed, although there may be a good 
reason. If so, perhaps we can modify writeXML on the BNG side to add the 
additional layer of separation between the local function definition and the 
rate law that NFsim requires.

Original issue reported on code.google.com by lh64@cornell.edu on 6 Jun 2013 at 7:13