Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TotalRate keyword is ignored in generating .net, SBML, and other outputs #270

Open
jrfaeder opened this issue Dec 21, 2023 · 0 comments
Open
Assignees

Comments

@jrfaeder
Copy link
Contributor

For compatibility with NFsim, the TotalRate keyword is allowed in reaction rules and is written to BNGXML files and correctly parsed/interpreted by NFsim. However, it is not written to the .net files used by the internal simulators or other output formats, including SBML, C, and Matlab.

begin model
begin parameters
  k 1
end parameters
begin species
  A() 1000
end species
begin observables
  Molecules A A()
end observables
begin reaction rules
  A() -> 0 k*A TotalRate
end reaction rules
end model
generate_network({overwrite=>1})
writeSBML()
writeMfile()
simulate({method=>"ssa",t_end=>10,n_steps=>100})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant