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

dask / dask-image / 112
100%
main: 99%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-7
DEFAULT BRANCH: main
Ran 07 Sep 2018 04:22AM UTC
Jobs 3
Files 21
Run time 10s
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
112

push

travis-ci

web-flow
Refactor out `_unravel_index` function (#60)

* Add a function unravel indices in Dask Arrays

Provides a utility function in `ndmeasure` to handle unraveling a Dask
Array of 1-D indices into multiple dimensions. Uses a simple kernel
function to perform the unraveling on 1-D NumPy Array chunks and coerce
them into a format that Dask can handle. This kernel function is then
used in a Dask Array `map_blocks` call to handle conversion of the full
Dask Array of 1-D indices into N-D indices.

* Test the unravel indices utility function

Make sure that our unravel indices utility function behaves roughly like
NumPy's. They are not a 1-to-1 match as we prefer to return a single
Dask Array instead of a `tuple` of Dask Arrays, which is better suited
for our use case.

* Use the unravel indices utility function

Instead of handling the unraveling of a Dask Array of indices through
mathematical operations in Dask (which creates a more complex graph),
Simply use the utility function, which simply uses `map_blocks` on each
chunk to get the N-D indices simply. This makes it easier for Dask to
potentially fuse this task with other tasks. Also keeps the Dask graph
pretty clean.

200 of 200 branches covered (100.0%)

Branch coverage included in aggregate %.

698 of 698 relevant lines covered (100.0%)

2.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 112.1 (PYVER="36") 07 Sep 2018 04:22AM UTC 0
100.0
Travis Job 112.1
2 112.2 (PYVER="35") 07 Sep 2018 04:22AM UTC 0
100.0
Travis Job 112.2
3 112.3 (PYVER="27") 07 Sep 2018 04:22AM UTC 0
98.57
Travis Job 112.3
Source Files on build 112
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #112
  • d439e770 on github
  • Prev Build on master (#345)
  • Next Build on master (#18592789)
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