mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-09 12:51:42 +08:00
Update multi_image test and install tifffile for travis.
This commit is contained in:
committed by
Stefan van der Walt
parent
732c9c37cc
commit
09e6439310
@@ -115,7 +115,7 @@ class MultiImage(object):
|
||||
self._dtype = dtype
|
||||
self._cached = None
|
||||
|
||||
|
||||
|
||||
if filename.lower().endswith(('.tiff', '.tif')):
|
||||
self.tif_img = img = TiffFile(self._filename)
|
||||
|
||||
@@ -139,11 +139,8 @@ class MultiImage(object):
|
||||
|
||||
def _find_numframes(self, img):
|
||||
"""Find the number of frames in the multi-img."""
|
||||
<<<<<<< HEAD
|
||||
|
||||
if self.tif_img:
|
||||
=======
|
||||
if self._tif_img:
|
||||
>>>>>>> 70b6909... Add tifffile support for MultiImage
|
||||
return len(img.pages)
|
||||
i = 0
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user