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

hgrecco / pint / 1841 / 3
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2020 11:25PM UTC
Files 18
Run time 4s
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

08 Jul 2020 11:13PM UTC coverage: 74.742% (-0.3%) from 75.056%
PKGS="python=3.6"

push

travis-ci

web-flow
Merge #1129

1129: Implement Dask collection interface r=hgrecco a=rpmanser

This pull request implements the [Dask collection interface](https://docs.dask.org/en/latest/custom-collections.html) for the Quantity class and adds convenience methods `compute()`, `persist()`, and `visualize()`. As is, only the convenience methods are wrapped to check that the magnitude of the Quantity is a dask array, which should cover current use cases. Ping @jthielen since we've been discussing this.

I have not tested `persist()` on a HPC cluster, which will have different behavior than when it is called on a single machine (e.g., desktop). Is there a way to integrate tests for distributed cases? If not, I can test this independently if needed.

- [X] Closes #883 
- [X] Executed ``black -t py36 . && isort -rc . && flake8`` with no errors
- [X] The change is fully covered by automated unit tests
- [X] Documented in docs/ as appropriate
- [X] Added an entry to the CHANGES file

Co-authored-by: Russell Manser <russell.p.manser@ttu.edu>

3045 of 4074 relevant lines covered (74.74%)

0.75 hits per line

Source Files on job 1841.3 (PKGS="python=3.6")
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1708
  • Travis Job 1841.3
  • f1ddf49c on github
  • Prev Job for PKGS="python=3.6" on master (#1832.3)
  • Next Job for PKGS="python=3.6" on master (#1843.3)
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

© 2025 Coveralls, Inc