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

LoLab-VU / pysb / 820 / 1
79%
master: 79%

Build:
DEFAULT BRANCH: master
Ran 18 Oct 2018 04:04AM UTC
Files 98
Run time 6s
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

18 Oct 2018 03:55AM UTC coverage: 78.712% (+0.04%) from 78.675%
PYVER=2.7

push

travis-ci

web-flow
Fix Simulator initials_dict when set by array (#377)

The `Simulator` class method `initials_dict` returns initial conditions
as a dictionary, mostly for use by network-free simulators like NFsim.
When initial conditions are set by an array or by a list, species which
were not explicitly set using `Initial()` in the model are ignored.

This would only affect users of the `BngSimulator`, which uses this
method, or anyone who called this method directly after setting
initials with an array or list.

This PR fixes the issue by returning a dictionary with values from the
array. This requires a species list for the model, so a `ValueError`
is raised where this is not available/`generate_equations` hasn't been
called yet.

7184 of 9127 relevant lines covered (78.71%)

0.79 hits per line

Source Files on job 820.1 (PYVER=2.7)
  • Tree
  • List 0
  • Changed 23
  • Source Changed 2
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 804
  • Travis Job 820.1
  • 11cb6581 on github
  • Prev Job for PYVER=2.7 on master (#819.1)
  • Next Job for PYVER=2.7 on master (#821.1)
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