• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LoLab-VU / pysb / 758
79%

Build:
DEFAULT BRANCH: master
Ran 25 Jan 2018 04:51PM UTC
Jobs 2
Files 97
Run time 9min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
758

push

travis-ci

web-flow
Kappa 4 support, expression improvements (#334)

* Kappa 4 support, Kappa expression improvements

This PR introduces support for Kappa 4 and drops support for
Kappa 3. Note that Kappa now requires agents on the reactant
side to correspond to agents on the product side of a rule 
(i.e. order is preserved). The "dot" agent is implemented in
PySB as `None`, and is necessary in
[certain situations documented in the Kappa Manual](https://github.com/Kappa-Dev/KaSim/blob/master/CHANGES.md#agent-order-in-rules-must-be-maintained).

For example, the following Kappa rule:

    // Agent A spawns a copy of agent B
    A(),. -> A(),B() @ 'r'

would be implemented in PySB as:

    Rule('spawnB', A() + None >> A() + B(), r)

This PR also improves Expression support for Kappa, implementing
`log`, `exp`, `min`, `max`, `sin`, `cos`, `tan`, `mod` and `sqrt`
functions, if expressions via sympy's `Piecewise`, and the `pi` and
`E` constants.

When using BioNetGen, `None` in a reaction pattern is translated
to the null symbol `0`.

Fixes: #333
Fixes: #288

6453 of 8571 relevant lines covered (75.29%)

1.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 758.1 25 Jan 2018 04:51PM UTC 0
74.72
Travis Job 758.1
2 758.2 25 Jan 2018 04:51PM UTC 0
74.44
Travis Job 758.2
Source Files on build 758
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #758
  • c55f3a57 on github
  • Prev Build on master (#757)
  • Next Build on master (#761)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc