RuleWorld / rulebender

Rule-Based Modeling and Simulation Gui
http://bionetgen.org
12 stars 7 forks source link

RB doesn't allow comments at the end of continued lines #206

Open jrfaeder opened 6 years ago

jrfaeder commented 6 years ago

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})

jrfaeder commented 6 years ago

This model shows errors in RB, but can be run and doesn't interfere with other RB functions, e.g., contact map generation.