The following syntax is allowed in BNGL but generates an error in RB:
begin seed species
A 100* \ # double your fun
2
B 100
end seed species
begin observables
Molecules A A()
Molecules B B()
Molecules C C()
Molecules Atot A(), C()
end observables
begin reaction rules
A() + B() <-> \ # comments are not allowed here either
C() 0.01, 1
end reaction rules
The following syntax is allowed in BNGL but generates an error in RB:
begin seed species A 100* \ # double your fun 2 B 100 end seed species begin observables Molecules A A() Molecules B B() Molecules C C() Molecules Atot A(), C() end observables begin reaction rules A() + B() <-> \ # comments are not allowed here either C() 0.01, 1 end reaction rules
simulate({method=>"ode",t_end=>10,n_steps=>100})