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

matthew-brett / nibabel / 449 / 5
96%
placeholder: 96%

Build:
Build:
LAST BUILD BRANCH: tmp
DEFAULT BRANCH: placeholder
Ran 07 Nov 2014 09:24AM UTC
Files 147
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

07 Nov 2014 09:21AM UTC coverage: 91.442%. Remained the same
COVERAGE=--with-coverage

push

travis-ci

matthew-brett
RF: refactor mmap logic in array_from_file

Use test for compressed files so we don't mmap them.  Numpy was trying
to mmap bz2 files.

Following suggestion from Nathaniel, use `readinto` method of most
file-like objects to read data into given memory location, so we can be
sure that memory location is not used by some other object.

If we can't use `readinto`, use heuristic to guess whether we can re-use
memory from file bytes read for array memory store.

Use bytearray to read data into, to avoid complications with numpy
array.data buffers and Python 3 / "non-native" datatypes.

16146 of 17657 relevant lines covered (91.44%)

0.91 hits per line

Source Files on job 449.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 449
  • Travis Job 449.5
  • 15ceb6cf on github
  • Prev Job for COVERAGE=--with-coverage on master (#448.5)
  • Next Job for COVERAGE=--with-coverage on master (#451.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