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

nipy / nibabel / 107 / 5
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 27 May 2014 06:31PM UTC
Files 133
Run time 57s
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

27 May 2014 06:26PM UTC coverage: 90.536% (+0.006%) from 90.53%
COVERAGE=--with-coverage

push

travis-ci

matthew-brett
Merge pull request #240 from matthew-brett/refactor-test-write_data

MRG: add tests; error bounds for rescaling to 0

The buildbots on SPARC were giving errors for the nan2zero fill tests.

http://nipy.bic.berkeley.edu/builders/nibabel-py2.7-wheezy-sparc/builds/5/steps/shell_6/logs/stdio

This was because there was some floating point error in calculating the integer
value in the output corresponding to zero in the input.

The second commit here puts some bounds on the error and checks that the
nan2zero value in the output is within these bounds.

I also refactored the _write_data private routine to deal with some silliness
in reshaping, and to prevent a possible route to overwriting the input data.

I believe the code using _write_data never takes that route because the route
required post_clips to be None when nan_fill is not None, and this can't
happen with current logic in the array_to_file, but, just in case.

14818 of 16367 relevant lines covered (90.54%)

0.91 hits per line

Source Files on job 107.5 (COVERAGE=--with-coverage)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 107
  • Travis Job 107.5
  • d870ef1b on github
  • Prev Job for COVERAGE=--with-coverage on master (#106.5)
  • Next Job for COVERAGE=--with-coverage on master (#108.5)
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