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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-7
DEFAULT BRANCH: main
Ran 01 Oct 2018 02:16AM UTC
Jobs 3
Files 21
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

pending completion
156

push

travis-ci

web-flow
Adjust `extrema`'s internal structured type handling (#77)

* Covert `extrema`'s component types to `dtype`s

Make sure that each component type in `extrema`'s structured `dtype` is
converted to a `dtype`.

* Use a 1-D singleton array in `extrema`'s kernel

Instead of using a 0-D array in `extrema`'s kernel function,
use a 1-D singleton array. As we have generally had better luck working
with 1-D singleton structured arrays with Dask, it makes sense to use
these consistently internally as well. Also avoids some hacky tricks to
extract the value from the array in favor of just selecting the value.

* Make `extrema`'s default with 1-D singleton array

Instead of using a 0-D array to construct `extrema`'s default value, use
a 1-D singleton array. As we have generally had better luck working with
1-D singleton structured arrays with Dask, it makes sense to use these
consistently internally as well. Also avoids some hacky tricks to
extract the value from the array in favor of just selecting the value.

* Reorder `extrema`'s internal structured `dtype`

Adjust the order of the `extrema`'s internal structured `dtype` to match
the order of the result returned.

* Make a mapping of `extrema`'s structured `dtype`

Define a mapping using an `OrderedDict` of the names and types within
the structured `dtype`. Use this to build the structured `dtype`. Also
use this to breakout the specific results after running `extrema`'s
kernel with `labeled_comprehension`.

* Bind `dtype` in `extrema` kernel function

Instead of reconstructing the `dtype` in `extrema`'s kernel function,
bind this in advance using `functools.partial` so that it can be passed
through to the `extrema` kernel function unchanged. Thus avoiding the
need to define this in two different places and potentially getting them
messed up.

211 of 211 branches covered (100.0%)

Branch coverage included in aggregate %.

725 of 725 relevant lines covered (100.0%)

2.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 156.1 (PYVER="36") 01 Oct 2018 02:16AM UTC 0
100.0
Travis Job 156.1
2 156.2 (PYVER="35") 01 Oct 2018 02:16AM UTC 0
100.0
Travis Job 156.2
3 156.3 (PYVER="27") 01 Oct 2018 02:18AM UTC 0
98.52
Travis Job 156.3
Source Files on build 156
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #156
  • c9fd2c42 on github
  • Prev Build on master (#526)
  • Next Build on master (#19158368)
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