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

nipy / nibabel / 107
93%

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

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

Jobs
ID Job ID Ran Files Coverage
5 107.5 (COVERAGE=--with-coverage) 27 May 2014 06:31PM UTC 0
90.54
Travis Job 107.5
Source Files on build 107
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #107
  • d870ef1b on github
  • Prev Build on master (#106)
  • Next Build on master (#108)
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