Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix tile_shape handling if it's not provided. #14

Merged
merged 1 commit into from
May 30, 2018
Merged

Conversation

ttung
Copy link
Collaborator

@ttung ttung commented May 24, 2018

#13 provides the wrong default value. It should be None if it's not present, or a tuple if it's present.

#13 provides the wrong default value.  It should be None if it's not present, or a tuple if it's present.
@ttung ttung requested review from csweaver and ambrosejcarr May 24, 2018 06:57
@codecov-io
Copy link

codecov-io commented May 24, 2018

Codecov Report

Merging #14 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #14   +/-   ##
=======================================
  Coverage   71.27%   71.27%           
=======================================
  Files          18       18           
  Lines         463      463           
=======================================
  Hits          330      330           
  Misses        133      133
Impacted Files Coverage Δ
slicedimage/_tileset.py 90.47% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d0a67c...5ee61a0. Read the comment docs.

@ttung ttung merged commit 9fbe415 into master May 30, 2018
@ttung ttung deleted the tonytung-tile-shape branch May 30, 2018 22:29
@ttung ttung restored the tonytung-tile-shape branch May 30, 2018 23:16
ttung pushed a commit to spacetx/starfish that referenced this pull request Jun 7, 2018
1. Fix the initialization of default_tile_shape.  If the value is unset, we should just copy the unset value (None) rather than try to construct an empty tuple.
2. If we default_tile_shape is not set, grab the shape from the first tile that has the value set.
3. Bump to slicedimage 0.0.0-dev21 to pick up bugfixes spacetx/slicedimage#14, spacetx/slicedimage#15, and spacetx/slicedimage#16
@ttung ttung deleted the tonytung-tile-shape branch August 9, 2018 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants