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

nipy / nipy / 265
86%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2015 12:30AM UTC
Jobs 1
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

pending completion
265

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

Jobs
ID Job ID Ran Files Coverage
6 265.6 (COVERAGE=1) 01 Oct 2015 12:30AM UTC 0
86.78
Travis Job 265.6
Source Files on build 265
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #265
  • a39b3871 on github
  • Prev Build on master (#264)
  • Next Build on master (#271)
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