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

LoLab-VU / pysb / 693
76%
master: 79%

Build:
Build:
LAST BUILD BRANCH: gpu_ssa
DEFAULT BRANCH: master
Ran 31 Oct 2017 09:54PM UTC
Jobs 2
Files 94
Run time 3min
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
693

push

travis-ci

alubbock
Add `|` reversible rule operator

PySB currently uses `<>` in reversible rules, but this syntax is not
compatible with Python 3, which removed that operator. The current
workaround is to use `!=`, which is suboptimal.

Following discussions with the PySB core team, I have implemented
`|` as a reversible rule operator, and added a
`PendingDeprecationWarning` to `<>`. The `<>` syntax should become
deprecated then removed at a later date.

Old syntax:

    A(b=None) + A(b=None) <> A(b=1) % A(b=1)

New syntax:

    A(b=None) + A(b=None) | A(b=1) % A(b=1)

6225 of 8216 relevant lines covered (75.77%)

1.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 693.1 31 Oct 2017 09:54PM UTC 0
73.64
Travis Job 693.1
2 693.2 31 Oct 2017 09:55PM UTC 0
72.42
Travis Job 693.2
Source Files on build 693
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #693
  • 1c081328 on github
  • Next Build on new_revrule_op (#717)
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