Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes for BNGL importer #470
Fixes for importing BNGL models containing the following:
This PR adds unit tests which round-trips BNGL export for PySB
Fixes for importing BNGL models containing the following: * Expressions referencing observables (ScipyOdeSimulator failure; observables don't get expanded by `expand_expr()`) * Parameters containing ^ (exponentation) (model fails to import) This PR adds unit tests which round-trips BNGL export for PySB example models, runs network generation, and single-steps an integrator. These tests caught the above issues.
@@ Coverage Diff @@ ## master #470 +/- ## ========================================== + Coverage 79.84% 79.88% +0.04% ========================================== Files 99 99 Lines 10113 10134 +21 ========================================== + Hits 8075 8096 +21 Misses 2038 2038