Skip to content

Commit

Permalink
tile_shape should be a tuple if provided. (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttung authored May 24, 2018
1 parent 8dd5084 commit aa6e310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slicedimage/_tile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Tile(object):
def __init__(self, coordinates, indices, tile_shape=None, sha256=None, extras=None):
self.coordinates = format_tile_dimensions(coordinates)
self.indices = format_tile_dimensions(indices)
self.tile_shape = tile_shape
self.tile_shape = tuple(tile_shape) if tile_shape is not None else None
self.sha256 = sha256
self.extras = {} if extras is None else extras

Expand Down

0 comments on commit aa6e310

Please sign in to comment.