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

dask / dask-image / 51 / 1
100%
main: 99%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/setup-python-7
DEFAULT BRANCH: main
Ran 30 Aug 2018 09:35PM UTC
Files 23
Run time 3s
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

30 Aug 2018 09:29PM UTC coverage: 100.0%. Remained the same
PYVER="36"

push

travis-ci

web-flow
Migrate dask-image org's subpackages (#10)

* Try to import tifffile if possible

First try to import `tifffile` directly. As this is a dependency of
`pims` in most cases this should work.  However some older versions of
`pims` (particularly for Python 3.4) pull in `scikit-image` instead for
some reason. So if `tifffile` can't be imported directly, try importing
it from `scikit-image`'s `external` package.

* Monkey patch pims to use the available tifffile

This seems to occur on Python 3.4 as the pims 0.3.3 package on
conda-forge pulls in scikit-image instead of tifffile, but seems to not
be able to use it. To fix that we import any available tifffile and
monkey patch pims only if it didn't find any tifffile. However there is
a chance we failed to find tifffile as well. In that case this amounts
to a no-op.

* Ignore test coverage when scikit-image is missing

Even though it is extremely unlikely that both `tifffile` and
`scikit-image` will not be present, we would still like to gracefully
handle this case. Instead of dropping the exception handling here
because it is  technically not covered in our testing, simply note to
coverage that it should not bother with this case.

* Rename `imread`'s `fn` to `fname`

Changes the filename parameter of `imread` from `fn` to `fname`. This is
done to be more consistent with SciPy and scikit-image, which both use
`fname`. Though this differs from Dask, which uses `filename`.

* Add a docstring for imread

Provides some brief explanation of about how `imread` works and what it
returns.

* Test another negative number of frames

Also test -2 as an argument to `nframes` to make sure it also fails.

* Drop ValueError if `nframes` is -1

As having `nframes` be `-1` will mean having one chunk, we no longer
should raise a `ValueError` when that value occurs. Also drop the test
for a `ValueError` if `nframes` is `-1`.

* Treat `nframes` equal to `-1` as one big chunk

If t... (continued)

310 of 310 branches covered (100.0%)

Branch coverage included in aggregate %.

901 of 901 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 51.1 (PYVER="36")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 17911217
  • Travis Job 51.1
  • d81498a2 on github
  • Prev Job for on master (#107.1)
  • Next Job for on master (#18419900.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc