RuleWorld / bionetgen

Rule-based modeling framework
https://bionetgen.org/
MIT License
56 stars 25 forks source link

Automatically generated variable names not being exported to SBML file #271

Closed jrfaeder closed 5 months ago

jrfaeder commented 5 months ago

Variables generated internally by BNG, which are automatically preceded by _, were not being written to the Parameters block of the SBML file. A previous update made sure those variables were exported to the InitialAssignments block, but the change was not propagated to the code for Parameters. This is now fixed. The result is that is it should now be safe to use expressions in rate laws, which cause automatic variables to be generated.

jrfaeder commented 5 months ago

As explained above, the issue is now closed.