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

LoLab-VU / pysb / 820
79%

Build:
DEFAULT BRANCH: master
Ran 18 Oct 2018 04:04AM UTC
Jobs 3
Files 98
Run time 1min
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
820

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.

7230 of 9127 relevant lines covered (79.22%)

2.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 820.1 (PYVER=2.7) 18 Oct 2018 04:04AM UTC 0
78.71
Travis Job 820.1
2 820.2 (PYVER=3.6) 18 Oct 2018 04:04AM UTC 0
78.46
Travis Job 820.2
3 820.3 (PYVER=3.7) 18 Oct 2018 04:06AM UTC 0
78.46
Travis Job 820.3
Source Files on build 820
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #820
  • 11cb6581 on github
  • Prev Build on master (#819)
  • Next Build on master (#821)
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