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

nipy / nipy / 265 / 6
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2015 12:30AM UTC
Files 322
Run time 9s
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

01 Oct 2015 12:08AM UTC coverage: 86.775% (+0.004%) from 86.771%
COVERAGE=1

push

travis-ci

matthew-brett
Merge pull request #362 from matthew-brett/hackaround-for-intp-bug

MRG: hack to work round np.intp bug in ndimage

Scipy ndimage, at least for scipy 0.9.0, fails when trying to interpolate data
of type np.intp, on a 32-bit system we are testing on:

http://nipy.bic.berkeley.edu/builders/nipy-py2.6-32/builds/291/steps/shell_6/logs/stdio

The interpolation failure gives an error like this:

```
File "/usr/lib/python2.7/dist-packages/scipy/ndimage/interpolation.py", line 392, in affine_transform
    output, order, mode, cval, None, None)
    RuntimeError: data type not supported
```

In fact, the numpy types np.int32 and np.intp (on 32-bits) are the same 32-bit
signed integer types, so we can just view the data as np.int32 (on 32 bits)
before running the ndimage routines.

Write wrappers around `affine_transform` and `map_coordinates` to do this
conversion, and extend tests.

The tests raise some errors on very old scipy, so update scipy dependency to
0.9.0.

23838 of 27471 relevant lines covered (86.78%)

0.87 hits per line

Source Files on job 265.6 (COVERAGE=1)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 265
  • Travis Job 265.6
  • a39b3871 on github
  • Prev Job for COVERAGE=1 on master (#264.6)
  • Next Job for COVERAGE=1 on master (#271.6)
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