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

LoLab-VU / pysb / 758 / 2
79%
master: 79%

Build:
DEFAULT BRANCH: master
Ran 25 Jan 2018 04:51PM UTC
Files 97
Run time 8min
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

25 Jan 2018 04:36PM UTC coverage: 74.437% (+0.2%) from 74.278%
758.2

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

6380 of 8571 relevant lines covered (74.44%)

0.74 hits per line

Source Files on job 758.2
  • Tree
  • List 0
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 758
  • Travis Job 758.2
  • c55f3a57 on github
  • Prev Job for on master (#757.2)
  • Next Job for on master (#761.2)
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