RuleWorld / bionetgen

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

BNG2.pl should catch species block issues #267

Closed ASinanSaglam closed 12 months ago

ASinanSaglam commented 1 year ago

Currently BNG2.pl doesn't catch errors where species are initialized with

  1. Functions
  2. Observables

these could lead to circular definitions but BNG2.pl proceeds to generate a net file which then fails at the run_network level.

BNG2.pl should catch these and throw an error.

ASinanSaglam commented 12 months ago

Fixed by 0ad355edb7e9f4d94cf4fa3ea5157b395eb13b67