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

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

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

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)

212 of 212 branches covered (100.0%)

Branch coverage included in aggregate %.

512 of 512 relevant lines covered (100.0%)

7.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 51.1 (PYVER="36") 30 Aug 2018 09:35PM UTC 0
100.0
Travis Job 51.1
2 51.2 (PYVER="35") 30 Aug 2018 09:36PM UTC 0
100.0
Travis Job 51.2
3 51.3 (PYVER="27") 30 Aug 2018 09:35PM UTC 0
97.44
Travis Job 51.3
Source Files on build 51
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #51
  • d81498a2 on github
  • Prev Build on master (#107)
  • Next Build on master (#18419900)
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