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

dask / dask / 11326
53%

Build:
DEFAULT BRANCH: master
Ran 24 Apr 2019 03:09PM UTC
Jobs 1
Files 108
Run time 8s
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
11326

push

travis-ci

mrocklin
Support for map_blocks with no array arguments (#4713)

* Support for map_blocks with no array arguments

This comprises multiple pieces:
- Make `unify_chunks` work correctly when given only constants
- If there are no arguments, consider the output to be zero-dimensional
  prior to application of `new_axis`.
- Allow blockwise to take a list of chunk sizes in `new_axes` instead of
  just a length.
- Add an entry to `block_info` to describe the output.

* map_blocks: infer new_axis from chunks

If chunks is specified and new_axis is not, new_axis defaults to
inserting axes on the left to make the output dimension match the length
of chunks. This is mainly expected to be used for zero-input map_blocks.

This made one of the existing tests fail because it was expecting a
ValueError in a case that is now legal. Changed the test to test the
case where `chunks` has too few dimensions instead of too many, and also
fixed a bug in `map_blocks` where `chunks=()` was being treated as if
`chunks` wasn't supplied.

* Add 'chunk-shape' and 'dtype' to map_blocks output block_info

* Update block_info tests for output info

This includes fixing a bug from #4301 where `old_k` has an off-by-one
error (and the unit test didn't actually run any of the assertions,
which is how it slipped through).

17103 of 18872 relevant lines covered (90.63%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11326.3 (PYTHON=3.6 NUMPY=1.15.1 PANDAS=0.23.4 TEST='true' LINT='true' COVERAGE='true' PARALLEL='false' XTRATESTARGS= TEST_IMPORTS='true') 24 Apr 2019 03:09PM UTC 0
90.63
Travis Job 11326.3
Source Files on build 11326
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11326
  • 21f8de89 on github
  • Prev Build on master (#11321)
  • Next Build on master (#11327)
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